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.001058/0.001058, allocations: 93.06 kB / 19.65 MB, free: 276 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.001284/0.001284, allocations: 169 kB / 23.02 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.9277/0.9277, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7557/0.7557, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.633e-06/1.633e-06, allocations: 0.9844 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.43e-05, allocations: 3.578 kB / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.009541/0.009565, allocations: 11.63 MB / 0.5317 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006823/0.01639, allocations: 4.856 MB / 0.5364 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.01748, allocations: 59.44 kB / 0.5365 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.01834, allocations: 345.1 kB / 0.5368 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.02046, allocations: 1.03 MB / 0.5378 GB, free: 336 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.02232, allocations: 1.124 MB / 0.5389 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002835/0.02515, allocations: 2.628 MB / 0.5415 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.02632, allocations: 0.7812 MB / 0.5422 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.0282, allocations: 1.257 MB / 0.5434 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009569/0.02915, allocations: 0.6191 MB / 0.5441 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.02933, allocations: 88 kB / 0.5441 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.0301, allocations: 351.3 kB / 0.5445 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.03032, allocations: 270.9 kB / 0.5447 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.03071, allocations: 373 kB / 0.5451 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.03197, allocations: 0.9886 MB / 0.5461 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.03198, allocations: 0 / 0.5461 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/0.03198, allocations: 0 / 0.5461 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.032, allocations: 0 / 0.5461 GB, free: 7.852 MB / 0.5105 GB 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.001875/0.03388, allocations: 1.394 MB / 0.5474 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.03392, allocations: 12.02 kB / 0.5474 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.03425, allocations: 182 kB / 0.5476 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.03515, allocations: 0.8182 MB / 0.5484 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.0352, allocations: 57.69 kB / 0.5485 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.03526, allocations: 71.94 kB / 0.5485 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.03607, allocations: 0.8018 MB / 0.5493 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.03609, allocations: 11.92 kB / 0.5493 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.03613, allocations: 28.84 kB / 0.5493 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.03614, allocations: 16 kB / 0.5494 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.03656, allocations: 269.7 kB / 0.5496 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.03928, allocations: 3.672 MB / 0.5532 GB, free: 236 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.0396, allocations: 196.4 kB / 0.5534 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.03974, allocations: 95.97 kB / 0.5535 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.03989, allocations: 44.3 kB / 0.5535 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.04018, allocations: 287 kB / 0.5538 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 3.196e-06/0.04019, allocations: 0 / 0.5538 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.0009731/0.04116, allocations: 420.2 kB / 0.5542 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.04121, allocations: 106.8 kB / 0.5543 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/0.04178, allocations: 0.7102 MB / 0.555 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.04182, allocations: 37.7 kB / 0.555 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.0421, allocations: 0.5263 MB / 0.5555 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.04218, allocations: 143.3 kB / 0.5557 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.0423, allocations: 132.6 kB / 0.5558 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.04241, allocations: 0.5081 MB / 0.5563 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.04254, allocations: 69.77 kB / 0.5564 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.04292, allocations: 0.6981 MB / 0.557 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.04333, allocations: 433.9 kB / 0.5575 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.04333, allocations: 4 kB / 0.5575 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006029/0.04394, allocations: 481.9 kB / 0.5579 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.04396, allocations: 8 kB / 0.5579 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.04396, allocations: 4 kB / 0.5579 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.04398, allocations: 11.22 kB / 0.5579 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.04425, allocations: 127.7 kB / 0.5581 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.04426, allocations: 12 kB / 0.5581 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.04454, allocations: 67.59 kB / 0.5581 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.0446, allocations: 35.98 kB / 0.5582 GB, free: 10.71 MB / 0.5261 GB 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.0001987/0.0448, allocations: 204.3 kB / 0.5584 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.04489, allocations: 108.2 kB / 0.5585 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009124/0.04581, allocations: 0.7427 MB / 0.5592 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.04582, allocations: 15.98 kB / 0.5592 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.04582, allocations: 0 / 0.5592 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.04583, allocations: 0 / 0.5592 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.04735, allocations: 1.453 MB / 0.5606 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.04735, allocations: 0 / 0.5606 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.04753, allocations: 97.08 kB / 0.5607 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.04753, allocations: 4 kB / 0.5607 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.04756, allocations: 19.98 kB / 0.5608 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.04757, allocations: 8.688 kB / 0.5608 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.04757, allocations: 0 / 0.5608 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.04847, allocations: 0.7648 MB / 0.5615 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.04868, allocations: 191 kB / 0.5617 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.04874, allocations: 18.38 kB / 0.5617 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.04892, allocations: 27.98 kB / 0.5617 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.04901, allocations: 60.28 kB / 0.5618 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.04905, allocations: 31.98 kB / 0.5618 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003873/0.04944, allocations: 458.9 kB / 0.5623 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.04944, allocations: 3.938 kB / 0.5623 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000612/0.05005, allocations: 288.5 kB / 0.5625 GB, free: 6.094 MB / 0.5261 GB 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.001263/0.05131, allocations: 0.5821 MB / 0.5631 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005544/0.05187, allocations: 353.5 kB / 0.5634 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.05187, allocations: 0 / 0.5634 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.05211, allocations: 222.6 kB / 0.5637 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.053, allocations: 332.6 kB / 0.564 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.05522, allocations: 1.608 MB / 0.5655 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.05536, allocations: 207.5 kB / 0.5657 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003487/0.0557, allocations: 161.2 kB / 0.5659 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.05585, allocations: 96.39 kB / 0.566 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.05585, allocations: 1.406 kB / 0.566 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of Templates: time 0.02614/0.08198, allocations: 17.1 MB / 0.5827 GB, free: 2 MB / 0.5417 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.111789076123387]