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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 189.8 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2933/0.2933, allocations: 55.68 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState") [Timeout 660] "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: 78.23 kB / 482.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4193, allocations: 62.87 MB / 0.5321 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.0262/0.4455, allocations: 22.82 MB / 0.5544 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008637/0.4541, allocations: 4.473 MB / 0.5588 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008669/0.455, allocations: 30.06 kB / 0.5588 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.4562, allocations: 445.5 kB / 0.5593 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.4596, allocations: 1.065 MB / 0.5603 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.4621, allocations: 0.8134 MB / 0.5611 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.4651, allocations: 1.793 MB / 0.5628 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008763/0.466, allocations: 479 kB / 0.5633 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.4677, allocations: 0.8868 MB / 0.5642 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.4688, allocations: 0.6988 MB / 0.5648 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.4689, allocations: 63.69 kB / 0.5649 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.4704, allocations: 0.6091 MB / 0.5655 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.4706, allocations: 209.9 kB / 0.5657 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005085/0.4711, allocations: 451 kB / 0.5661 GB, free: 212 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.4732, allocations: 1.315 MB / 0.5674 GB, free: 15.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4732, allocations: 5.562 kB / 0.5674 GB, free: 15.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4732, allocations: 0 / 0.5674 GB, free: 15.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.4732, allocations: 0 / 0.5674 GB, free: 15.36 MB / 430.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.002028/0.4752, allocations: 1.23 MB / 0.5686 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4753, allocations: 14.47 kB / 0.5686 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/0.4789, allocations: 0.5326 MB / 0.5692 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.48, allocations: 0.5321 MB / 0.5697 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.48, allocations: 42.81 kB / 0.5697 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.4801, allocations: 63.44 kB / 0.5698 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4826, allocations: 1.095 MB / 0.5708 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4826, allocations: 1.156 kB / 0.5708 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.4827, allocations: 30.94 kB / 0.5709 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/0.4828, allocations: 25.89 kB / 0.5709 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/0.4858, allocations: 0.9891 MB / 0.5719 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006012/0.4919, allocations: 4.906 MB / 0.5767 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.4944, allocations: 0.731 MB / 0.5774 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.4958, allocations: 424.1 kB / 0.5778 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.4961, allocations: 81.8 kB / 0.5779 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/0.4979, allocations: 0.6617 MB / 0.5785 GB, free: 6.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.344e-06/0.4979, allocations: 0 / 0.5785 GB, free: 6.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.004881/0.5028, allocations: 1.567 MB / 0.58 GB, free: 5.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/0.503, allocations: 354.1 kB / 0.5804 GB, free: 4.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.5041, allocations: 0.7469 MB / 0.5811 GB, free: 4.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.5042, allocations: 33.7 kB / 0.5811 GB, free: 4.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.5046, allocations: 448.4 kB / 0.5816 GB, free: 3.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.5048, allocations: 142.8 kB / 0.5817 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.5051, allocations: 166.2 kB / 0.5819 GB, free: 3.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5053, allocations: 333.9 kB / 0.5822 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.5067, allocations: 437.3 kB / 0.5826 GB, free: 2.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.5083, allocations: 0.7183 MB / 0.5833 GB, free: 1.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.5114, allocations: 1.245 MB / 0.5845 GB, free: 456 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.5114, allocations: 4 kB / 0.5845 GB, free: 452 kB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003934/0.5153, allocations: 1.412 MB / 0.5859 GB, free: 15.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.5154, allocations: 105.1 kB / 0.586 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5154, allocations: 4 kB / 0.586 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.5155, allocations: 12 kB / 0.586 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.5166, allocations: 212 kB / 0.5862 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.5166, allocations: 19.92 kB / 0.5862 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.5179, allocations: 183.2 kB / 0.5864 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/0.518, allocations: 35.98 kB / 0.5864 GB, free: 14.43 MB / 446.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.0005728/0.5186, allocations: 360.3 kB / 0.5868 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.5188, allocations: 107.4 kB / 0.5869 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/0.523, allocations: 1.699 MB / 0.5885 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.523, allocations: 4 kB / 0.5885 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.523, allocations: 0 / 0.5885 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.523, allocations: 7.984 kB / 0.5886 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.5242, allocations: 0.7356 MB / 0.5893 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5242, allocations: 0 / 0.5893 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/0.525, allocations: 143.7 kB / 0.5894 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.5251, allocations: 4 kB / 0.5894 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.5251, allocations: 23.97 kB / 0.5894 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.5251, allocations: 4 kB / 0.5894 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5251, allocations: 0 / 0.5894 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.5286, allocations: 1.338 MB / 0.5907 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.5288, allocations: 91.23 kB / 0.5908 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.529, allocations: 27.83 kB / 0.5909 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000965/0.53, allocations: 111.9 kB / 0.591 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5301, allocations: 35.94 kB / 0.591 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.5302, allocations: 23.98 kB / 0.591 GB, free: 9.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009005/0.5311, allocations: 0.5848 MB / 0.5916 GB, free: 9.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5311, allocations: 0 / 0.5916 GB, free: 9.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001418/0.5325, allocations: 347.4 kB / 0.5919 GB, free: 8.707 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.0009311/0.5334, allocations: 341.1 kB / 0.5922 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003394/0.5368, allocations: 1.198 MB / 0.5934 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.5368, allocations: 0 / 0.5934 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.5384, allocations: 0.6549 MB / 0.5941 GB, free: 6.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.54, allocations: 320.3 kB / 0.5944 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.5438, allocations: 1.659 MB / 0.596 GB, free: 4.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.5445, allocations: 0.9901 MB / 0.597 GB, free: 3.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000754/0.5453, allocations: 181.8 kB / 0.5971 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.5455, allocations: 87.33 kB / 0.5972 GB, free: 3.168 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5455, allocations: 0 / 0.5972 GB, free: 3.168 MB / 446.1 MB Notification: Performance of Templates: time 0.03326/0.5788, allocations: 17.9 MB / 0.6147 GB, free: 1.383 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.PrescribedOutletState.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.92238082177937] Failed to read output from testmodel.py, exit status != 0: 0.5879271617159247 0.6030152679999999 0.126582482 Calling exit ...