Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009963/0.0009963, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0009528/0.0009528, allocations: 169 kB / 23.28 MB, free: 1.215 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.9304/0.9304, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7671/0.7671, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5211 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.731e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.009475/0.009502, allocations: 11.48 MB / 0.5323 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006753/0.01626, allocations: 4.838 MB / 0.537 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.01764, allocations: 60.28 kB / 0.5371 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.01852, allocations: 349.1 kB / 0.5374 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.02068, allocations: 1.033 MB / 0.5384 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.02264, allocations: 1.13 MB / 0.5395 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.02534, allocations: 2.626 MB / 0.5421 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.02652, allocations: 0.766 MB / 0.5429 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.02856, allocations: 1.256 MB / 0.5441 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009544/0.02951, allocations: 0.6269 MB / 0.5447 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.02967, allocations: 88.91 kB / 0.5448 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.03045, allocations: 343.5 kB / 0.5451 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.03067, allocations: 274.8 kB / 0.5454 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.03116, allocations: 371.6 kB / 0.5457 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.03265, allocations: 0.9862 MB / 0.5467 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.03265, allocations: 3.938 kB / 0.5467 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.82e-07/0.03266, allocations: 0 / 0.5467 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.03268, allocations: 0 / 0.5467 GB, free: 7.336 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.00167/0.03435, allocations: 1.409 MB / 0.5481 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.03439, allocations: 12.97 kB / 0.5481 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.03521, allocations: 184.2 kB / 0.5483 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.03629, allocations: 0.8065 MB / 0.549 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.03634, allocations: 53.69 kB / 0.5491 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/0.03642, allocations: 76.97 kB / 0.5492 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008194/0.03724, allocations: 0.7666 MB / 0.5499 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.03725, allocations: 5.375 kB / 0.5499 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.0373, allocations: 28 kB / 0.5499 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.03732, allocations: 16 kB / 0.55 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.03767, allocations: 223.9 kB / 0.5502 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.04041, allocations: 3.546 MB / 0.5536 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.0407, allocations: 177.7 kB / 0.5538 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.04081, allocations: 80.28 kB / 0.5539 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.04095, allocations: 47.83 kB / 0.5539 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.04123, allocations: 275.5 kB / 0.5542 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.04123, allocations: 1.469 kB / 0.5542 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.0006435/0.04187, allocations: 381.6 kB / 0.5546 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.04192, allocations: 106.8 kB / 0.5547 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.04252, allocations: 0.6969 MB / 0.5553 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.04256, allocations: 37.7 kB / 0.5554 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.04289, allocations: 0.5339 MB / 0.5559 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.04298, allocations: 134.8 kB / 0.556 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.04314, allocations: 143.8 kB / 0.5562 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.04327, allocations: 0.4964 MB / 0.5566 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.04338, allocations: 61.25 kB / 0.5567 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.0438, allocations: 0.6874 MB / 0.5574 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.0442, allocations: 413.4 kB / 0.5578 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.0442, allocations: 7.938 kB / 0.5578 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006298/0.04483, allocations: 439.3 kB / 0.5582 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.04485, allocations: 8.75 kB / 0.5582 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.04486, allocations: 4 kB / 0.5582 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.04488, allocations: 14.3 kB / 0.5582 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.04519, allocations: 127.8 kB / 0.5583 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.0452, allocations: 11.94 kB / 0.5584 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.04551, allocations: 67.59 kB / 0.5584 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.04556, allocations: 35.97 kB / 0.5585 GB, free: 10.58 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.0002046/0.04576, allocations: 205.2 kB / 0.5586 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.04588, allocations: 106.1 kB / 0.5588 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/0.04686, allocations: 0.697 MB / 0.5594 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.04687, allocations: 8 kB / 0.5594 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.04687, allocations: 0 / 0.5594 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.04688, allocations: 5.422 kB / 0.5594 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.04851, allocations: 1.293 MB / 0.5607 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.04852, allocations: 5.875 kB / 0.5607 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.04872, allocations: 87.83 kB / 0.5608 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.04872, allocations: 4 kB / 0.5608 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.04875, allocations: 19.94 kB / 0.5608 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.04876, allocations: 12.7 kB / 0.5608 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.04877, allocations: 7.938 kB / 0.5608 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.04951, allocations: 0.7214 MB / 0.5615 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.04975, allocations: 176.4 kB / 0.5617 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.04983, allocations: 23.92 kB / 0.5617 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.05005, allocations: 31.98 kB / 0.5618 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.05013, allocations: 53.09 kB / 0.5618 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.05018, allocations: 23.98 kB / 0.5618 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00035/0.05053, allocations: 433.6 kB / 0.5623 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.05053, allocations: 0 / 0.5623 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007844/0.05131, allocations: 291.3 kB / 0.5625 GB, free: 6.258 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.001354/0.05266, allocations: 0.5856 MB / 0.5631 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.05315, allocations: 317.5 kB / 0.5634 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.05315, allocations: 0 / 0.5634 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.05341, allocations: 206.5 kB / 0.5636 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.05448, allocations: 326.7 kB / 0.5639 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.05709, allocations: 1.584 MB / 0.5655 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.05724, allocations: 199.4 kB / 0.5656 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000393/0.05764, allocations: 148.6 kB / 0.5658 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.05826, allocations: 383.5 kB / 0.5662 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/0.05826, allocations: 3.938 kB / 0.5662 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of Templates: time 0.02534/0.0836, allocations: 16.9 MB / 0.5827 GB, free: 2.219 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.947580548003316]