Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00157/0.00157, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.865/1.865, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3806/0.3806, allocations: 39.93 MB / 309.3 MB, free: 9.363 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: ModelicaTest 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.001847/0.001847, allocations: 63.92 kB / 376.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 56.88 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4632/0.6073, allocations: 146 MB / 0.5662 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009084/0.6164, allocations: 5.731 MB / 0.5718 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.618, allocations: 27.81 kB / 0.5718 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.6192, allocations: 282.4 kB / 0.5721 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.6213, allocations: 0.8166 MB / 0.5729 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.624, allocations: 0.934 MB / 0.5738 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.6269, allocations: 2.667 MB / 0.5764 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007535/0.6277, allocations: 397 kB / 0.5768 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.6292, allocations: 0.6654 MB / 0.5774 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.6304, allocations: 0.7318 MB / 0.5782 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.6306, allocations: 32 kB / 0.5782 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.632, allocations: 0.5341 MB / 0.5787 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.6322, allocations: 239.3 kB / 0.5789 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.6327, allocations: 374.2 kB / 0.5793 GB, free: 4.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.6339, allocations: 1.102 MB / 0.5804 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6339, allocations: 0 / 0.5804 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.6339, allocations: 0 / 0.5804 GB, free: 3.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.634, allocations: 0 / 0.5804 GB, free: 3.309 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002135/0.6361, allocations: 1.061 MB / 0.5814 GB, free: 2.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6362, allocations: 19.91 kB / 0.5814 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.6365, allocations: 92.08 kB / 0.5815 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.6373, allocations: 0.5092 MB / 0.582 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.6374, allocations: 101 kB / 0.5821 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.6375, allocations: 48.56 kB / 0.5822 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.6389, allocations: 0.8266 MB / 0.583 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6389, allocations: 4 kB / 0.583 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.639, allocations: 20 kB / 0.583 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/0.6391, allocations: 40.92 kB / 0.583 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6402, allocations: 0.6479 MB / 0.5837 GB, free: 15.77 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.6448, allocations: 3.963 MB / 0.5875 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.6456, allocations: 432.3 kB / 0.5879 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.6459, allocations: 205.3 kB / 0.5881 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.6464, allocations: 0.7327 MB / 0.5889 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6465, allocations: 42.83 kB / 0.5889 GB, free: 9.953 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/0.6465, allocations: 0 / 0.5889 GB, free: 9.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003181/0.6497, allocations: 1.542 MB / 0.5904 GB, free: 8.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.6497, allocations: 132.5 kB / 0.5905 GB, free: 8.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.6503, allocations: 0.5771 MB / 0.5911 GB, free: 7.594 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.6504, allocations: 37.7 kB / 0.5911 GB, free: 7.551 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.6506, allocations: 351 kB / 0.5915 GB, free: 7.203 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6507, allocations: 161.7 kB / 0.5916 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.6509, allocations: 142.5 kB / 0.5918 GB, free: 6.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6511, allocations: 374.8 kB / 0.5921 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.6514, allocations: 213.9 kB / 0.5923 GB, free: 6.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.652, allocations: 0.5123 MB / 0.5928 GB, free: 5.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.6529, allocations: 0.7601 MB / 0.5936 GB, free: 4.773 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6529, allocations: 4.688 kB / 0.5936 GB, free: 4.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00148/0.6544, allocations: 0.906 MB / 0.5944 GB, free: 3.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.6544, allocations: 15.94 kB / 0.5945 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.6544, allocations: 11.94 kB / 0.5945 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.6558, allocations: 286.8 kB / 0.5947 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.6562, allocations: 132.6 kB / 0.5949 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009765/0.6571, allocations: 0.8801 MB / 0.5957 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.6576, allocations: 48.03 kB / 0.5958 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.6577, allocations: 32 kB / 0.5958 GB, free: 2.434 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003042/0.658, allocations: 251.6 kB / 0.596 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6581, allocations: 67.16 kB / 0.5961 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.6593, allocations: 0.7722 MB / 0.5969 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.6593, allocations: 7.938 kB / 0.5969 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6594, allocations: 0 / 0.5969 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6594, allocations: 11.98 kB / 0.5969 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.6612, allocations: 1.416 MB / 0.5983 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6612, allocations: 0 / 0.5983 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.6622, allocations: 199.8 kB / 0.5985 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.853e-05/0.6623, allocations: 24.84 kB / 0.5985 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.6624, allocations: 16 kB / 0.5985 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.6645, allocations: 2.68 MB / 0.6011 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.6645, allocations: 4.031 kB / 0.6011 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.6658, allocations: 1.007 MB / 0.6021 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.6661, allocations: 208.1 kB / 0.6023 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.6662, allocations: 12.06 kB / 0.6023 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.6667, allocations: 35.83 kB / 0.6023 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.6668, allocations: 31.95 kB / 0.6024 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.6668, allocations: 31.91 kB / 0.6024 GB, free: 11.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.6673, allocations: 431 kB / 0.6028 GB, free: 10.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6673, allocations: 0 / 0.6028 GB, free: 10.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008066/0.6681, allocations: 224 kB / 0.603 GB, free: 10.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005665/0.6687, allocations: 261.3 kB / 0.6033 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.6699, allocations: 0.6029 MB / 0.6039 GB, free: 9.715 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6699, allocations: 0 / 0.6039 GB, free: 9.715 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009933/0.6709, allocations: 458.3 kB / 0.6043 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.6727, allocations: 357.7 kB / 0.6046 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.6754, allocations: 1.604 MB / 0.6062 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.6759, allocations: 0.9349 MB / 0.6071 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007715/0.6767, allocations: 212 kB / 0.6073 GB, free: 6.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.6769, allocations: 63.42 kB / 0.6074 GB, free: 6.031 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6769, allocations: 0 / 0.6074 GB, free: 6.031 MB / 478.1 MB Notification: Performance of Templates: time 0.02329/0.7002, allocations: 14.9 MB / 0.6219 GB, free: 7.18 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)