Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007653/0.007653, allocations: 100.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 195.1 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4128/0.4128, allocations: 54.94 MB / 324.8 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 74.72 kB / 456.2 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1437, allocations: 59.58 MB / 0.5037 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.03076/0.1745, allocations: 22.64 MB / 0.5258 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1847, allocations: 4.476 MB / 0.5302 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.1863, allocations: 15.88 kB / 0.5302 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.1879, allocations: 445.4 kB / 0.5306 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.1926, allocations: 1.054 MB / 0.5317 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.1966, allocations: 0.7954 MB / 0.5324 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003898/0.2005, allocations: 1.798 MB / 0.5342 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.2018, allocations: 0.5524 MB / 0.5347 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.2038, allocations: 0.8678 MB / 0.5356 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009997/0.2048, allocations: 0.6615 MB / 0.5362 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2049, allocations: 60 kB / 0.5363 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.2066, allocations: 0.6787 MB / 0.537 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.2069, allocations: 215.2 kB / 0.5372 GB, free: 8.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.2075, allocations: 437.7 kB / 0.5376 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.2096, allocations: 1.332 MB / 0.5389 GB, free: 6.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.2096, allocations: 4 kB / 0.5389 GB, free: 6.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2096, allocations: 0 / 0.5389 GB, free: 6.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.2096, allocations: 4 kB / 0.5389 GB, free: 6.879 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001914/0.2116, allocations: 1.282 MB / 0.5401 GB, free: 5.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2116, allocations: 8.031 kB / 0.5401 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.2149, allocations: 0.5343 MB / 0.5407 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009566/0.2159, allocations: 0.5929 MB / 0.5412 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.2159, allocations: 49.69 kB / 0.5413 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.216, allocations: 63.92 kB / 0.5414 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.2183, allocations: 1.098 MB / 0.5424 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2183, allocations: 7.938 kB / 0.5424 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.2184, allocations: 28 kB / 0.5425 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.2185, allocations: 27.98 kB / 0.5425 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.2213, allocations: 0.9835 MB / 0.5434 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.2266, allocations: 4.962 MB / 0.5483 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.229, allocations: 0.7714 MB / 0.549 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.2303, allocations: 456.9 kB / 0.5495 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.231, allocations: 0.8233 MB / 0.5503 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.2326, allocations: 0.6622 MB / 0.5509 GB, free: 9.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 3.667e-06/0.2326, allocations: 3.984 kB / 0.5509 GB, free: 9.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.004438/0.237, allocations: 1.557 MB / 0.5525 GB, free: 8.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/0.2372, allocations: 350.1 kB / 0.5528 GB, free: 7.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/0.2382, allocations: 0.743 MB / 0.5535 GB, free: 7.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/0.2383, allocations: 41.7 kB / 0.5536 GB, free: 7.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.2387, allocations: 435.5 kB / 0.554 GB, free: 6.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.2389, allocations: 138 kB / 0.5541 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.2391, allocations: 158.1 kB / 0.5543 GB, free: 6.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2393, allocations: 337.9 kB / 0.5546 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.2406, allocations: 449.3 kB / 0.555 GB, free: 5.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.2422, allocations: 0.7105 MB / 0.5557 GB, free: 4.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.245, allocations: 1.246 MB / 0.5569 GB, free: 3.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.245, allocations: 8 kB / 0.5569 GB, free: 3.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003965/0.249, allocations: 1.389 MB / 0.5583 GB, free: 1.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.2492, allocations: 105.1 kB / 0.5584 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.2492, allocations: 8 kB / 0.5584 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.471e-05/0.2492, allocations: 12.75 kB / 0.5584 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.2503, allocations: 219.7 kB / 0.5586 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.2504, allocations: 11.94 kB / 0.5586 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.2517, allocations: 179 kB / 0.5588 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/0.2518, allocations: 39.98 kB / 0.5588 GB, free: 1.285 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 3 * 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.0005757/0.2524, allocations: 360.3 kB / 0.5592 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.2526, allocations: 94.91 kB / 0.5593 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.2565, allocations: 1.68 MB / 0.5609 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.2565, allocations: 8 kB / 0.5609 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.2565, allocations: 0 / 0.5609 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.2565, allocations: 7.922 kB / 0.5609 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.2577, allocations: 0.7557 MB / 0.5617 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2577, allocations: 7.875 kB / 0.5617 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.2585, allocations: 135.9 kB / 0.5618 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2585, allocations: 4 kB / 0.5618 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.2586, allocations: 27.98 kB / 0.5618 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2586, allocations: 7.922 kB / 0.5618 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2586, allocations: 0 / 0.5618 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.2618, allocations: 1.33 MB / 0.5631 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.262, allocations: 167.9 kB / 0.5633 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.2622, allocations: 27.84 kB / 0.5633 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.2631, allocations: 103.9 kB / 0.5634 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2632, allocations: 31.95 kB / 0.5634 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.2633, allocations: 27.98 kB / 0.5635 GB, free: 12.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007644/0.264, allocations: 0.5771 MB / 0.564 GB, free: 11.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.264, allocations: 0 / 0.564 GB, free: 11.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001088/0.2651, allocations: 335.8 kB / 0.5644 GB, free: 11.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 0 * 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.0008105/0.2659, allocations: 345.3 kB / 0.5647 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.2691, allocations: 1.304 MB / 0.566 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2692, allocations: 448 / 0.566 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.2706, allocations: 0.7404 MB / 0.5667 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.2721, allocations: 330.2 kB / 0.567 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.2755, allocations: 1.628 MB / 0.5686 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.276, allocations: 0.9901 MB / 0.5696 GB, free: 6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006687/0.2767, allocations: 185.7 kB / 0.5697 GB, free: 5.816 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.277, allocations: 79.39 kB / 0.5698 GB, free: 5.742 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.277, allocations: 0 / 0.5698 GB, free: 5.742 MB / 446.1 MB Notification: Performance of Templates: time 0.03061/0.3076, allocations: 17.36 MB / 0.5868 GB, free: 4.48 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1)