Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirProperties.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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") translateModel(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009446, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001008/0.001008, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4074/0.4074, allocations: 54.97 MB / 325.3 MB, free: 0.7188 MB / 254.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.0005894/0.0005898, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3552, allocations: 60.72 MB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirProperties): time 0.1424/0.4977, allocations: 125.9 MB / 0.5695 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.5038, allocations: 4.572 MB / 0.574 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.504, allocations: 0 / 0.574 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.5044, allocations: 51.77 kB / 0.574 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.5048, allocations: 115.7 kB / 0.5741 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.5069, allocations: 0.6701 MB / 0.5748 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.5074, allocations: 216.6 kB / 0.575 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.5074, allocations: 9.688 kB / 0.575 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.5079, allocations: 179.4 kB / 0.5752 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.5081, allocations: 99.66 kB / 0.5753 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.5081, allocations: 8 kB / 0.5753 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.5098, allocations: 0.6747 MB / 0.5759 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.5099, allocations: 67.8 kB / 0.576 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.51, allocations: 69.58 kB / 0.5761 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.5108, allocations: 382 kB / 0.5764 GB, free: 2.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5108, allocations: 0 / 0.5764 GB, free: 2.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5108, allocations: 0 / 0.5764 GB, free: 2.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.5108, allocations: 0 / 0.5764 GB, free: 2.371 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001102/0.5119, allocations: 0.5477 MB / 0.577 GB, free: 1.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.512, allocations: 8.031 kB / 0.577 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.5133, allocations: 138.4 kB / 0.5771 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.5136, allocations: 223.3 kB / 0.5773 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.5136, allocations: 21.73 kB / 0.5773 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.5137, allocations: 16 kB / 0.5774 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.5142, allocations: 336 kB / 0.5777 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5142, allocations: 4 kB / 0.5777 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.5143, allocations: 17.7 kB / 0.5777 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.5143, allocations: 12.38 kB / 0.5777 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.5149, allocations: 320.9 kB / 0.578 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.5167, allocations: 1.195 MB / 0.5792 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.5172, allocations: 191.7 kB / 0.5794 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/0.5178, allocations: 453.5 kB / 0.5798 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.5178, allocations: 42.56 kB / 0.5798 GB, free: 14.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.5178, allocations: 0 / 0.5798 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007255/0.5185, allocations: 329.4 kB / 0.5801 GB, free: 14.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.5186, allocations: 55.34 kB / 0.5802 GB, free: 14.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.5188, allocations: 220.7 kB / 0.5804 GB, free: 13.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.5189, allocations: 29.7 kB / 0.5804 GB, free: 13.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.519, allocations: 147.9 kB / 0.5806 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.5191, allocations: 72.11 kB / 0.5806 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.5191, allocations: 8 kB / 0.5807 GB, free: 13.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5192, allocations: 334.8 kB / 0.581 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.5193, allocations: 68.22 kB / 0.581 GB, free: 13.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.5195, allocations: 163.1 kB / 0.5812 GB, free: 13.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.5197, allocations: 92.64 kB / 0.5813 GB, free: 12.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5197, allocations: 0 / 0.5813 GB, free: 12.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00051/0.5202, allocations: 292.3 kB / 0.5816 GB, free: 12.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5202, allocations: 4 kB / 0.5816 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.5203, allocations: 4.406 kB / 0.5816 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5203, allocations: 8 kB / 0.5816 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.5206, allocations: 64.41 kB / 0.5816 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.5206, allocations: 7.938 kB / 0.5816 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.5208, allocations: 27.69 kB / 0.5817 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.5209, allocations: 12 kB / 0.5817 GB, free: 12.57 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.521, allocations: 145.7 kB / 0.5818 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.5212, allocations: 27.8 kB / 0.5819 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.5217, allocations: 268.5 kB / 0.5821 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5217, allocations: 4 kB / 0.5821 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5217, allocations: 0 / 0.5821 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5217, allocations: 3.984 kB / 0.5821 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.5225, allocations: 0.5628 MB / 0.5827 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5225, allocations: 4 kB / 0.5827 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.5227, allocations: 32.02 kB / 0.5827 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5227, allocations: 1.562 kB / 0.5827 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5227, allocations: 8 kB / 0.5827 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5227, allocations: 0 / 0.5827 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5227, allocations: 0 / 0.5827 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.5232, allocations: 341.6 kB / 0.583 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.5234, allocations: 128.7 kB / 0.5832 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.5234, allocations: 4 kB / 0.5832 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.5237, allocations: 15.98 kB / 0.5832 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.5237, allocations: 7.984 kB / 0.5832 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5238, allocations: 11.98 kB / 0.5832 GB, free: 10.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.5239, allocations: 164.2 kB / 0.5834 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5239, allocations: 0 / 0.5834 GB, free: 10.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005013/0.5244, allocations: 111.9 kB / 0.5835 GB, free: 10.65 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004192/0.5249, allocations: 208.8 kB / 0.5837 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.5252, allocations: 190.6 kB / 0.5838 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5252, allocations: 4 kB / 0.5838 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.5254, allocations: 96.61 kB / 0.5839 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.5259, allocations: 94.05 kB / 0.584 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.5268, allocations: 0.5549 MB / 0.5846 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.5271, allocations: 0.7411 MB / 0.5853 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.5274, allocations: 60.05 kB / 0.5853 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.5275, allocations: 19.44 kB / 0.5854 GB, free: 8.641 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5275, allocations: 0 / 0.5854 GB, free: 8.641 MB / 462.1 MB Notification: Performance of Templates: time 0.0103/0.5378, allocations: 5.173 MB / 0.5904 GB, free: 3.547 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: