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.005226/0.005225, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001167/0.001167, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.439/1.439, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2774/0.2774, allocations: 54.96 MB / 324.9 MB, free: 4.855 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.002282/0.002282, allocations: 75.83 kB / 456.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1415, allocations: 59.59 MB / 0.5037 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.02397/0.1655, allocations: 22.65 MB / 0.5258 GB, free: 328 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3666/0.5322, allocations: 4.468 MB / 0.5302 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008838/0.5331, allocations: 22.09 kB / 0.5302 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.5345, allocations: 438.5 kB / 0.5306 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.5384, allocations: 1.011 MB / 0.5316 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.5418, allocations: 0.791 MB / 0.5324 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.5458, allocations: 1.798 MB / 0.5341 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.5471, allocations: 0.5533 MB / 0.5347 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.5492, allocations: 0.8594 MB / 0.5355 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.5503, allocations: 0.6649 MB / 0.5362 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.5505, allocations: 59.69 kB / 0.5362 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.5527, allocations: 0.6793 MB / 0.5369 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.553, allocations: 205.4 kB / 0.5371 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006587/0.5537, allocations: 450.8 kB / 0.5375 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.5566, allocations: 1.335 MB / 0.5388 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5567, allocations: 1.188 kB / 0.5388 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5567, allocations: 0 / 0.5388 GB, free: 6.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.5567, allocations: 0 / 0.5388 GB, free: 6.219 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.002224/0.5589, allocations: 1.314 MB / 0.5401 GB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.559, allocations: 9.219 kB / 0.5401 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.5627, allocations: 0.533 MB / 0.5406 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.5638, allocations: 0.6041 MB / 0.5412 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.5639, allocations: 44.88 kB / 0.5413 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.564, allocations: 65.06 kB / 0.5413 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.5666, allocations: 1.094 MB / 0.5424 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.5666, allocations: 1.031 kB / 0.5424 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.5667, allocations: 28.62 kB / 0.5424 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.5668, allocations: 31.98 kB / 0.5425 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.5698, allocations: 0.9836 MB / 0.5434 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005878/0.5757, allocations: 4.961 MB / 0.5483 GB, free: 17.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.5784, allocations: 0.7771 MB / 0.549 GB, free: 16.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.5798, allocations: 462.1 kB / 0.5495 GB, free: 16.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/0.5805, allocations: 0.8241 MB / 0.5503 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/0.5822, allocations: 0.6684 MB / 0.5509 GB, free: 15.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.434e-06/0.5822, allocations: 3.938 kB / 0.5509 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.005052/0.5873, allocations: 1.554 MB / 0.5524 GB, free: 15.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.5875, allocations: 350.1 kB / 0.5528 GB, free: 14.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.589, allocations: 0.7472 MB / 0.5535 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5891, allocations: 33.39 kB / 0.5535 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.5896, allocations: 454.7 kB / 0.554 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.5898, allocations: 145.5 kB / 0.5541 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.5901, allocations: 155.7 kB / 0.5543 GB, free: 13.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5903, allocations: 331.9 kB / 0.5546 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.5918, allocations: 445.8 kB / 0.555 GB, free: 13.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.5935, allocations: 0.7161 MB / 0.5557 GB, free: 12.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/0.5966, allocations: 1.249 MB / 0.5569 GB, free: 12.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.5967, allocations: 2.5 kB / 0.5569 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003842/0.6005, allocations: 1.394 MB / 0.5583 GB, free: 11.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.6006, allocations: 109.3 kB / 0.5584 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.6007, allocations: 7.438 kB / 0.5584 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.6007, allocations: 11.55 kB / 0.5584 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6018, allocations: 217.7 kB / 0.5586 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.6018, allocations: 17.02 kB / 0.5586 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.6033, allocations: 174.1 kB / 0.5588 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.6035, allocations: 45.66 kB / 0.5588 GB, free: 11.45 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.0006919/0.6042, allocations: 360 kB / 0.5592 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6044, allocations: 96.44 kB / 0.5593 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.6088, allocations: 1.696 MB / 0.5609 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.6088, allocations: 4.75 kB / 0.5609 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6088, allocations: 1.156 kB / 0.5609 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6088, allocations: 3.984 kB / 0.5609 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.6104, allocations: 0.7566 MB / 0.5617 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6104, allocations: 5.719 kB / 0.5617 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008364/0.6113, allocations: 134.5 kB / 0.5618 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.6113, allocations: 5.062 kB / 0.5618 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.6114, allocations: 26.59 kB / 0.5618 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.6114, allocations: 2.625 kB / 0.5618 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6114, allocations: 0 / 0.5618 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/0.615, allocations: 1.334 MB / 0.5631 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.6155, allocations: 176.3 kB / 0.5633 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.6157, allocations: 27.02 kB / 0.5633 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/0.6166, allocations: 106.7 kB / 0.5634 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.6167, allocations: 31.42 kB / 0.5635 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.6168, allocations: 24.42 kB / 0.5635 GB, free: 8.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009959/0.6178, allocations: 0.5769 MB / 0.5641 GB, free: 8.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6178, allocations: 4 kB / 0.5641 GB, free: 8.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0017/0.6195, allocations: 347.1 kB / 0.5644 GB, free: 8.375 MB / 430.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.0009801/0.6205, allocations: 334.4 kB / 0.5647 GB, free: 8.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003526/0.6241, allocations: 1.314 MB / 0.566 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.6241, allocations: 0 / 0.566 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.6256, allocations: 0.7362 MB / 0.5667 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.6273, allocations: 320.8 kB / 0.567 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.6313, allocations: 1.661 MB / 0.5686 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.632, allocations: 0.9859 MB / 0.5696 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007616/0.6328, allocations: 179.4 kB / 0.5698 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.633, allocations: 87.7 kB / 0.5699 GB, free: 5.023 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.633, allocations: 0 / 0.5699 GB, free: 5.023 MB / 430.1 MB Notification: Performance of Templates: time 0.03372/0.6668, allocations: 17.36 MB / 0.5868 GB, free: 6.07 MB / 446.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)