Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.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.001447/0.001447, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001658/0.001658, allocations: 170 kB / 23.27 MB, free: 1.223 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.9828/0.9828, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7898/0.7898, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5207 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.986e-05, allocations: 6.734 kB / 0.5207 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01332/0.01334, allocations: 11.49 MB / 0.532 GB, free: 5.305 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.01935, allocations: 4.841 MB / 0.5367 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005694/0.01992, allocations: 59.44 kB / 0.5368 GB, free: 444 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.02045, allocations: 349.1 kB / 0.5371 GB, free: 92 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.02176, allocations: 1.024 MB / 0.5381 GB, free: 15.07 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.02298, allocations: 1.133 MB / 0.5392 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.0247, allocations: 2.623 MB / 0.5418 GB, free: 11.3 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006313/0.02533, allocations: 0.7739 MB / 0.5425 GB, free: 10.51 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009451/0.02627, allocations: 1.26 MB / 0.5437 GB, free: 9.25 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.02678, allocations: 0.6268 MB / 0.5444 GB, free: 8.621 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.503e-05/0.02687, allocations: 89.59 kB / 0.5444 GB, free: 8.535 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.02727, allocations: 347.4 kB / 0.5448 GB, free: 8.195 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.02744, allocations: 266.9 kB / 0.545 GB, free: 7.934 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.02768, allocations: 371.1 kB / 0.5454 GB, free: 7.57 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007509/0.02843, allocations: 0.9862 MB / 0.5463 GB, free: 6.582 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.02843, allocations: 0 / 0.5463 GB, free: 6.582 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02843, allocations: 0 / 0.5463 GB, free: 6.582 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.02844, allocations: 0 / 0.5463 GB, free: 6.582 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001314/0.02975, allocations: 1.412 MB / 0.5477 GB, free: 5.133 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.02978, allocations: 12.91 kB / 0.5477 GB, free: 5.121 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.02999, allocations: 184.2 kB / 0.5479 GB, free: 4.941 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.03069, allocations: 0.8105 MB / 0.5487 GB, free: 4.105 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.03073, allocations: 53.69 kB / 0.5487 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.03078, allocations: 73.62 kB / 0.5488 GB, free: 3.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.03135, allocations: 0.7666 MB / 0.5496 GB, free: 3.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.03136, allocations: 0 / 0.5496 GB, free: 3.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.03139, allocations: 28 kB / 0.5496 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.0314, allocations: 17.28 kB / 0.5496 GB, free: 3.047 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.03163, allocations: 222.8 kB / 0.5498 GB, free: 2.832 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.03354, allocations: 3.548 MB / 0.5533 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.03374, allocations: 180.3 kB / 0.5535 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.03382, allocations: 88.28 kB / 0.5535 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.612e-05/0.03392, allocations: 44.7 kB / 0.5536 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.03413, allocations: 269.2 kB / 0.5538 GB, free: 14.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 1.703e-06/0.03413, allocations: 3.938 kB / 0.5538 GB, free: 14.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006795/0.03481, allocations: 384.3 kB / 0.5542 GB, free: 14.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.03485, allocations: 107.4 kB / 0.5543 GB, free: 14.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.0353, allocations: 0.6903 MB / 0.555 GB, free: 13.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.03534, allocations: 38.83 kB / 0.555 GB, free: 13.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.03562, allocations: 0.5339 MB / 0.5555 GB, free: 12.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.0357, allocations: 138.8 kB / 0.5557 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.03583, allocations: 140.8 kB / 0.5558 GB, free: 12.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.03595, allocations: 0.4926 MB / 0.5563 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.03603, allocations: 59.62 kB / 0.5564 GB, free: 11.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.03634, allocations: 0.6853 MB / 0.557 GB, free: 11.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.03663, allocations: 408.9 kB / 0.5574 GB, free: 10.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.03664, allocations: 7.938 kB / 0.5574 GB, free: 10.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004342/0.03707, allocations: 454.3 kB / 0.5579 GB, free: 10.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.03709, allocations: 8 kB / 0.5579 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.0371, allocations: 4 kB / 0.5579 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.03711, allocations: 11.98 kB / 0.5579 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.03733, allocations: 124.3 kB / 0.558 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.03734, allocations: 16.92 kB / 0.558 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.03753, allocations: 63.61 kB / 0.5581 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.03756, allocations: 30.45 kB / 0.5581 GB, free: 9.836 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0001515/0.03772, allocations: 204.3 kB / 0.5583 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.0378, allocations: 107.4 kB / 0.5584 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/0.03852, allocations: 0.6902 MB / 0.5591 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.03853, allocations: 15.98 kB / 0.5591 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.03853, allocations: 0.8438 kB / 0.5591 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.03854, allocations: 0 / 0.5591 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.03973, allocations: 1.298 MB / 0.5604 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.03973, allocations: 4.875 kB / 0.5604 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.03987, allocations: 83.89 kB / 0.5604 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.03988, allocations: 6.812 kB / 0.5604 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.0399, allocations: 35.86 kB / 0.5605 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.0399, allocations: 4 kB / 0.5605 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.03991, allocations: 7.938 kB / 0.5605 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.04068, allocations: 0.7201 MB / 0.5612 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.04084, allocations: 181 kB / 0.5614 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.04089, allocations: 19.94 kB / 0.5614 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.04104, allocations: 27.98 kB / 0.5614 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.04111, allocations: 56.34 kB / 0.5615 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.04113, allocations: 23.98 kB / 0.5615 GB, free: 6.211 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.04138, allocations: 433.3 kB / 0.5619 GB, free: 5.793 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04138, allocations: 0 / 0.5619 GB, free: 5.793 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004451/0.04182, allocations: 283.4 kB / 0.5622 GB, free: 5.516 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * 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.001068/0.04289, allocations: 0.5907 MB / 0.5627 GB, free: 5.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.04322, allocations: 321.2 kB / 0.5631 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.04322, allocations: 0.8438 kB / 0.5631 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.0434, allocations: 201.5 kB / 0.5632 GB, free: 4.648 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.04414, allocations: 334.2 kB / 0.5636 GB, free: 4.348 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.04574, allocations: 1.578 MB / 0.5651 GB, free: 2.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.04586, allocations: 197.2 kB / 0.5653 GB, free: 2.461 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.04609, allocations: 147.6 kB / 0.5654 GB, free: 2.324 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.04656, allocations: 389.8 kB / 0.5658 GB, free: 1.941 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04656, allocations: 0 / 0.5658 GB, free: 1.941 MB / 490.7 MB Notification: Performance of Templates: time 0.01764/0.0642, allocations: 16.89 MB / 0.5823 GB, free: 1.484 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.041325426660478]