Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 72.95 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 173 kB / 24.15 MB, free: 352 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6347/0.6347, allocations: 115 MB / 376 MB, free: 7.5 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 428.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.406e-05, allocations: 2.312 kB / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005533/0.005557, allocations: 3.476 MB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.008316, allocations: 1.401 MB / 433.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.008682, allocations: 39.69 kB / 433.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.009016, allocations: 122.6 kB / 433.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.009562, allocations: 194.4 kB / 433.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.01059, allocations: 0.5693 MB / 434.5 MB, free: 12.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.01161, allocations: 0.9641 MB / 435.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.01206, allocations: 248.1 kB / 435.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.01268, allocations: 0.5182 MB / 436.2 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.01292, allocations: 255 kB / 436.5 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.013, allocations: 76 kB / 436.6 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.01306, allocations: 80 kB / 436.6 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.01316, allocations: 179.3 kB / 436.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.01331, allocations: 235.2 kB / 437 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.01378, allocations: 0.5757 MB / 437.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01378, allocations: 3.984 kB / 437.6 MB, free: 9.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01378, allocations: 4 kB / 437.6 MB, free: 9.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.01379, allocations: 0 / 437.6 MB, free: 9.844 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001/0.01479, allocations: 1.067 MB / 438.7 MB, free: 8.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.01482, allocations: 12.03 kB / 438.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.01492, allocations: 100.8 kB / 438.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.01545, allocations: 0.492 MB / 439.3 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.962e-05/0.01554, allocations: 148.4 kB / 439.4 MB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.0156, allocations: 52.38 kB / 439.5 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.01609, allocations: 0.6036 MB / 440.1 MB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.0161, allocations: 4.125 kB / 440.1 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.01614, allocations: 36.06 kB / 440.1 MB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01615, allocations: 12 kB / 440.1 MB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.01633, allocations: 134.8 kB / 440.3 MB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.01761, allocations: 1.466 MB / 441.7 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.01792, allocations: 215.4 kB / 442 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.01802, allocations: 80.73 kB / 442 MB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.01805, allocations: 8 kB / 442 MB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.01826, allocations: 217.4 kB / 442.2 MB, free: 4.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.683e-06/0.01826, allocations: 0 / 442.2 MB, free: 4.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.0003408/0.0186, allocations: 248.9 kB / 442.5 MB, free: 4.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.01865, allocations: 114.8 kB / 442.6 MB, free: 4.574 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.01898, allocations: 0.5155 MB / 443.1 MB, free: 4.051 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.01901, allocations: 33.7 kB / 443.2 MB, free: 4.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.01914, allocations: 278.9 kB / 443.4 MB, free: 3.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/0.01922, allocations: 162.6 kB / 443.6 MB, free: 3.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.01931, allocations: 106.2 kB / 443.7 MB, free: 3.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.01943, allocations: 382.6 kB / 444.1 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.01953, allocations: 85.16 kB / 444.1 MB, free: 2.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01968, allocations: 243.2 kB / 444.4 MB, free: 2.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.01992, allocations: 262.6 kB / 444.6 MB, free: 2.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01992, allocations: 0 / 444.6 MB, free: 2.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003121/0.02023, allocations: 337.7 kB / 445 MB, free: 2.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.02026, allocations: 37.7 kB / 445 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.02027, allocations: 0 / 445 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.02028, allocations: 11.94 kB / 445 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.02053, allocations: 111.8 kB / 445.1 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.02054, allocations: 7.984 kB / 445.1 MB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.02069, allocations: 55.97 kB / 445.2 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.02071, allocations: 24 kB / 445.2 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001424/0.02085, allocations: 163.1 kB / 445.4 MB, free: 1.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001408/0.021, allocations: 243.2 kB / 445.6 MB, free: 1.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002049/0.0212, allocations: 262.9 kB / 445.9 MB, free: 1.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.0212, allocations: 0 / 445.9 MB, free: 1.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0002858/0.02149, allocations: 333.7 kB / 446.2 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.0215, allocations: 34.02 kB / 446.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.02151, allocations: 7.938 kB / 446.2 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-06/0.02151, allocations: 4 kB / 446.2 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.02177, allocations: 111.8 kB / 446.3 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.02178, allocations: 7.938 kB / 446.4 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.02192, allocations: 55.72 kB / 446.4 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.02194, allocations: 12 kB / 446.4 MB, free: 468 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.02204, allocations: 212.1 kB / 446.6 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.02209, allocations: 55.95 kB / 446.7 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.02217, allocations: 78.75 kB / 446.8 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.02217, allocations: 7.938 kB / 446.8 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.02217, allocations: 0 / 446.8 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02218, allocations: 0 / 446.8 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2158/0.238, allocations: 321.4 kB / 447.1 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.238, allocations: 0 / 447.1 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.2382, allocations: 81.42 kB / 447.2 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2382, allocations: 2 kB / 447.2 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2383, allocations: 13.89 kB / 447.2 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.2383, allocations: 3.438 kB / 447.2 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2383, allocations: 0 / 447.2 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.2387, allocations: 321.9 kB / 447.5 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2388, allocations: 72.22 kB / 447.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.2388, allocations: 10.12 kB / 447.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.239, allocations: 28.42 kB / 447.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.239, allocations: 37.12 kB / 447.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2391, allocations: 10.62 kB / 447.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.2392, allocations: 252.5 kB / 447.9 MB, free: 28.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2392, allocations: 0 / 447.9 MB, free: 28.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.2396, allocations: 224.5 kB / 448.1 MB, free: 28.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.129e-05/0.2397, allocations: 94.84 kB / 448.2 MB, free: 28.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.2402, allocations: 0.5056 MB / 448.7 MB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.2402, allocations: 6.781 kB / 448.7 MB, free: 28.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.2403, allocations: 114.1 kB / 448.8 MB, free: 28.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.2408, allocations: 214.6 kB / 449 MB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2419, allocations: 1.06 MB / 450.1 MB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.242, allocations: 143.8 kB / 450.2 MB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.2423, allocations: 91.44 kB / 450.3 MB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.2426, allocations: 212.2 kB / 450.5 MB, free: 27.81 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2426, allocations: 0.75 kB / 450.5 MB, free: 27.81 MB / 410.7 MB Notification: Performance of Templates: time 0.01116/0.2538, allocations: 8.652 MB / 459.2 MB, free: 25.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5285564209334552]