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.0009106/0.0009106, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008764/0.0008764, allocations: 173.3 kB / 23.03 MB, free: 1.547 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 0.9365/0.9365, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7555/0.7555, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.222e-06/1.222e-06, allocations: 0 / 0.5203 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.548e-05, allocations: 5.109 kB / 0.5203 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003495/0.00351, allocations: 3.994 MB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.005233, allocations: 1.35 MB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.005468, allocations: 27.81 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.005731, allocations: 130.7 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.005965, allocations: 193.7 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.006514, allocations: 412.2 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006498/0.007163, allocations: 0.9785 MB / 0.5272 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.007494, allocations: 292.2 kB / 0.5275 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.007886, allocations: 0.4989 MB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.008098, allocations: 239.2 kB / 0.5282 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.661e-05/0.008175, allocations: 88.94 kB / 0.5283 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.008246, allocations: 88 kB / 0.5283 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.008334, allocations: 175.4 kB / 0.5285 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.008498, allocations: 244.9 kB / 0.5287 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.00895, allocations: 0.572 MB / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.008952, allocations: 0 / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.008953, allocations: 0 / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.008959, allocations: 1.062 kB / 0.5293 GB, free: 9.031 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.001144/0.0101, allocations: 1.147 MB / 0.5304 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.01013, allocations: 11.28 kB / 0.5304 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.01027, allocations: 140.3 kB / 0.5306 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.01081, allocations: 0.5368 MB / 0.5311 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.01084, allocations: 45.69 kB / 0.5311 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.0109, allocations: 60.38 kB / 0.5312 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.01149, allocations: 0.5147 MB / 0.5317 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.01151, allocations: 192 / 0.5317 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.01155, allocations: 32.3 kB / 0.5317 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.01156, allocations: 19.94 kB / 0.5317 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.01191, allocations: 225.1 kB / 0.532 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.01355, allocations: 1.789 MB / 0.5337 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.01392, allocations: 270.3 kB / 0.534 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.01408, allocations: 129.1 kB / 0.5341 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.01411, allocations: 10.31 kB / 0.5341 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.01435, allocations: 187.9 kB / 0.5343 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 1.923e-06/0.01435, allocations: 0 / 0.5343 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.0005346/0.01489, allocations: 385.4 kB / 0.5346 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.01492, allocations: 64.81 kB / 0.5347 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.01523, allocations: 446.6 kB / 0.5351 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.01526, allocations: 38.64 kB / 0.5352 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.01544, allocations: 379.6 kB / 0.5355 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.139e-05/0.01553, allocations: 170.5 kB / 0.5357 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/0.01563, allocations: 101.5 kB / 0.5358 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01577, allocations: 0.5313 MB / 0.5363 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.01592, allocations: 103 kB / 0.5364 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.01611, allocations: 211.1 kB / 0.5366 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.01644, allocations: 303.5 kB / 0.5369 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.01644, allocations: 7.984 kB / 0.5369 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004649/0.01691, allocations: 446.6 kB / 0.5373 GB, free: 464 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.01694, allocations: 37.69 kB / 0.5374 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01694, allocations: 0.5938 kB / 0.5374 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.01696, allocations: 4.781 kB / 0.5374 GB, free: 416 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.01724, allocations: 111.8 kB / 0.5375 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.01724, allocations: 9.031 kB / 0.5375 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.01738, allocations: 51.66 kB / 0.5375 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.0174, allocations: 20.75 kB / 0.5376 GB, free: 224 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.0001496/0.01755, allocations: 194.4 kB / 0.5377 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.01762, allocations: 71.81 kB / 0.5378 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.01769, allocations: 63.89 kB / 0.5379 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.01769, allocations: 7.938 kB / 0.5379 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.0177, allocations: 7.734 kB / 0.5379 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.0177, allocations: 0 / 0.5379 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008121/0.01851, allocations: 0.8704 MB / 0.5387 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01852, allocations: 0 / 0.5387 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.01875, allocations: 90.42 kB / 0.5388 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01876, allocations: 4 kB / 0.5388 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.01878, allocations: 15.94 kB / 0.5388 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01878, allocations: 0 / 0.5388 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01878, allocations: 3.984 kB / 0.5388 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.01931, allocations: 0.5616 MB / 0.5394 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.01941, allocations: 91.47 kB / 0.5395 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.01945, allocations: 19.92 kB / 0.5395 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01957, allocations: 21.48 kB / 0.5395 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.01963, allocations: 32.44 kB / 0.5396 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.01965, allocations: 12 kB / 0.5396 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001844/0.01983, allocations: 293 kB / 0.5398 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01983, allocations: 0 / 0.5398 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002614/0.0201, allocations: 147.6 kB / 0.54 GB, free: 13.68 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 8.655e-05/0.02018, allocations: 108.3 kB / 0.5401 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.02057, allocations: 349.8 kB / 0.5404 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.02057, allocations: 0 / 0.5404 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.02072, allocations: 144.8 kB / 0.5406 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.02115, allocations: 162.3 kB / 0.5407 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.02268, allocations: 1.168 MB / 0.5419 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.925e-05/0.02276, allocations: 129.9 kB / 0.542 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.02292, allocations: 64.66 kB / 0.542 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.02301, allocations: 48.48 kB / 0.5421 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.02301, allocations: 0 / 0.5421 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.008106/0.03111, allocations: 6.105 MB / 0.548 GB, free: 5.617 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: 3.653955678921193]