Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001721/0.001721, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00218/0.00218, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.084/1.084, allocations: 177.1 MB / 203.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7999/0.7999, allocations: 154.6 MB / 414.9 MB, free: 0.6836 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5203 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.194e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.01131/0.01134, allocations: 3.979 MB / 0.5242 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005969/0.01731, allocations: 1.338 MB / 0.5255 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.01801, allocations: 32.25 kB / 0.5255 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.01838, allocations: 123.8 kB / 0.5256 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.01874, allocations: 201.5 kB / 0.5258 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.01959, allocations: 416.2 kB / 0.5262 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004152/0.02374, allocations: 0.9796 MB / 0.5272 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.02424, allocations: 282.6 kB / 0.5274 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.02481, allocations: 0.4989 MB / 0.5279 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.02511, allocations: 240.3 kB / 0.5282 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.943e-05/0.02521, allocations: 95.94 kB / 0.5283 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.0253, allocations: 88.97 kB / 0.5283 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.02542, allocations: 175.4 kB / 0.5285 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.02563, allocations: 255.3 kB / 0.5288 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003768/0.0294, allocations: 0.5843 MB / 0.5293 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.02941, allocations: 0 / 0.5293 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.02941, allocations: 0.7188 kB / 0.5293 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.02942, allocations: 0 / 0.5293 GB, free: 9.289 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00164/0.03106, allocations: 1.149 MB / 0.5304 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.03111, allocations: 15.97 kB / 0.5305 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.03131, allocations: 137.8 kB / 0.5306 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008289/0.03214, allocations: 0.5433 MB / 0.5311 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.03218, allocations: 44.44 kB / 0.5312 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.03229, allocations: 60.38 kB / 0.5312 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.033, allocations: 0.5186 MB / 0.5317 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.03302, allocations: 4.188 kB / 0.5317 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.03306, allocations: 24.38 kB / 0.5318 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.03308, allocations: 19.94 kB / 0.5318 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.0335, allocations: 222.1 kB / 0.532 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.03544, allocations: 1.793 MB / 0.5337 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.03594, allocations: 279.7 kB / 0.534 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.03613, allocations: 128.5 kB / 0.5341 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.03617, allocations: 8.5 kB / 0.5341 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.03647, allocations: 179.9 kB / 0.5343 GB, free: 4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.416e-06/0.03648, allocations: 0 / 0.5343 GB, free: 4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.0006469/0.03712, allocations: 392.7 kB / 0.5347 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.03718, allocations: 59.84 kB / 0.5347 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.03752, allocations: 447.3 kB / 0.5352 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.03756, allocations: 40.42 kB / 0.5352 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.03777, allocations: 379.6 kB / 0.5356 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.03788, allocations: 174.5 kB / 0.5357 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.03799, allocations: 96 kB / 0.5358 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.03818, allocations: 0.5313 MB / 0.5363 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.03836, allocations: 106.9 kB / 0.5364 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.03856, allocations: 209.9 kB / 0.5366 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.03892, allocations: 307.8 kB / 0.5369 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.03893, allocations: 2.438 kB / 0.5369 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005313/0.03946, allocations: 445.8 kB / 0.5374 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.03951, allocations: 37.7 kB / 0.5374 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.03952, allocations: 4 kB / 0.5374 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.03954, allocations: 4 kB / 0.5374 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.03984, allocations: 121.8 kB / 0.5375 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.03985, allocations: 7.938 kB / 0.5375 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.04, allocations: 51.66 kB / 0.5376 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.04002, allocations: 16 kB / 0.5376 GB, free: 468 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0001622/0.04018, allocations: 186.4 kB / 0.5378 GB, free: 272 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.04025, allocations: 71.62 kB / 0.5378 GB, free: 200 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.04033, allocations: 65.44 kB / 0.5379 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.04034, allocations: 8.531 kB / 0.5379 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.04035, allocations: 3.938 kB / 0.5379 GB, free: 124 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.04035, allocations: 4.672 kB / 0.5379 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/0.04135, allocations: 0.8677 MB / 0.5388 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.04135, allocations: 0 / 0.5388 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.04161, allocations: 88.52 kB / 0.5389 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.04161, allocations: 0 / 0.5389 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.04164, allocations: 20.42 kB / 0.5389 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.04165, allocations: 0.5312 kB / 0.5389 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-06/0.04165, allocations: 4 kB / 0.5389 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.04226, allocations: 0.5541 MB / 0.5394 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.04238, allocations: 99.45 kB / 0.5395 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.04242, allocations: 17.06 kB / 0.5395 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.04254, allocations: 15.98 kB / 0.5395 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.04263, allocations: 40.42 kB / 0.5396 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.04265, allocations: 12.94 kB / 0.5396 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000214/0.04286, allocations: 295 kB / 0.5399 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.04286, allocations: 0.6562 kB / 0.5399 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000326/0.04319, allocations: 139.6 kB / 0.54 GB, free: 13.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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 0.0001423/0.04333, allocations: 123.1 kB / 0.5401 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.04382, allocations: 346.3 kB / 0.5405 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04382, allocations: 0 / 0.5405 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.044, allocations: 147.4 kB / 0.5406 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.0445, allocations: 147.8 kB / 0.5407 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.04642, allocations: 1.169 MB / 0.5419 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.04651, allocations: 133.9 kB / 0.542 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.04669, allocations: 69.22 kB / 0.5421 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.04678, allocations: 40.44 kB / 0.5421 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/0.04678, allocations: 0 / 0.5421 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.008996/0.05578, allocations: 5.822 MB / 0.5478 GB, free: 6.16 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.233973959926516]