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.001519/0.001519, allocations: 99.47 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.001732/0.001732, 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.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3296/0.3296, allocations: 39.99 MB / 310.4 MB, free: 10.02 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.0005766/0.000577, allocations: 20 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3471/0.4555, allocations: 125.4 MB / 0.549 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.4636, allocations: 4.874 MB / 0.5537 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4649, allocations: 22.12 kB / 0.5538 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.466, allocations: 281.2 kB / 0.554 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.4682, allocations: 0.7048 MB / 0.5547 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.4707, allocations: 0.8143 MB / 0.5555 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.4723, allocations: 1.028 MB / 0.5565 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.4729, allocations: 397.2 kB / 0.5569 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.474, allocations: 0.5631 MB / 0.5574 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.4747, allocations: 482.5 kB / 0.5579 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.4748, allocations: 32 kB / 0.5579 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.4759, allocations: 435.4 kB / 0.5584 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.4762, allocations: 219.4 kB / 0.5586 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.4764, allocations: 161.3 kB / 0.5587 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.4773, allocations: 0.7984 MB / 0.5595 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.4774, allocations: 0 / 0.5595 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4774, allocations: 0 / 0.5595 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.4774, allocations: 0 / 0.5595 GB, free: 11.01 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001991/0.4794, allocations: 0.9245 MB / 0.5604 GB, free: 10.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4794, allocations: 8.562 kB / 0.5604 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.4798, allocations: 91.09 kB / 0.5605 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.4807, allocations: 0.4965 MB / 0.561 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.4808, allocations: 100.4 kB / 0.5611 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.4809, allocations: 56.92 kB / 0.5611 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.4823, allocations: 0.8033 MB / 0.5619 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.4823, allocations: 3.953 kB / 0.5619 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.4824, allocations: 20 kB / 0.5619 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/0.4825, allocations: 44.91 kB / 0.562 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.4835, allocations: 0.6479 MB / 0.5626 GB, free: 7.652 MB / 430.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.004922/0.4885, allocations: 3.991 MB / 0.5665 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.4893, allocations: 427.1 kB / 0.5669 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.4899, allocations: 0.7327 MB / 0.5676 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.49, allocations: 38.89 kB / 0.5677 GB, free: 2.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.404e-06/0.49, allocations: 0 / 0.5677 GB, free: 2.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003292/0.4933, allocations: 1.543 MB / 0.5692 GB, free: 412 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.4934, allocations: 136.5 kB / 0.5693 GB, free: 244 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.4942, allocations: 0.5654 MB / 0.5699 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.4942, allocations: 37.7 kB / 0.5699 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.4945, allocations: 351 kB / 0.5702 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.4947, allocations: 157.7 kB / 0.5704 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.4947, allocations: 16 kB / 0.5704 GB, free: 15.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.4949, allocations: 386.7 kB / 0.5708 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.4953, allocations: 213.9 kB / 0.571 GB, free: 14.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.4959, allocations: 0.5045 MB / 0.5715 GB, free: 13.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.4964, allocations: 308.6 kB / 0.5718 GB, free: 13.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4964, allocations: 4 kB / 0.5718 GB, free: 13.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001842/0.4983, allocations: 0.9086 MB / 0.5726 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4983, allocations: 8 kB / 0.5727 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4983, allocations: 16.8 kB / 0.5727 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.4998, allocations: 288.5 kB / 0.5729 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.5003, allocations: 123.8 kB / 0.5731 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.5014, allocations: 0.8791 MB / 0.5739 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.5021, allocations: 44.05 kB / 0.574 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.5022, allocations: 43.98 kB / 0.574 GB, free: 11.23 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004934/0.5027, allocations: 246.1 kB / 0.5742 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.5028, allocations: 71.16 kB / 0.5743 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.5046, allocations: 0.7826 MB / 0.5751 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.5046, allocations: 4 kB / 0.5751 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.5046, allocations: 0 / 0.5751 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5046, allocations: 0 / 0.5751 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.5068, allocations: 1.415 MB / 0.5765 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5068, allocations: 7.938 kB / 0.5765 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5078, allocations: 203.7 kB / 0.5767 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.857e-05/0.508, allocations: 25.03 kB / 0.5767 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.508, allocations: 16 kB / 0.5767 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.5101, allocations: 2.693 MB / 0.5793 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5102, allocations: 4.031 kB / 0.5793 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.5117, allocations: 1.068 MB / 0.5804 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.5122, allocations: 212.2 kB / 0.5806 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.5123, allocations: 20.05 kB / 0.5806 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.5128, allocations: 27.98 kB / 0.5806 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.5129, allocations: 35.91 kB / 0.5807 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.513, allocations: 23.98 kB / 0.5807 GB, free: 3.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005767/0.5136, allocations: 411 kB / 0.5811 GB, free: 3.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5136, allocations: 0 / 0.5811 GB, free: 3.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009794/0.5146, allocations: 219.9 kB / 0.5813 GB, free: 3.266 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006816/0.5153, allocations: 258.8 kB / 0.5815 GB, free: 3.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.5167, allocations: 0.5912 MB / 0.5821 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.5167, allocations: 3.938 kB / 0.5821 GB, free: 2.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.5178, allocations: 458.7 kB / 0.5825 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.5195, allocations: 311.2 kB / 0.5828 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.5221, allocations: 1.625 MB / 0.5844 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.5228, allocations: 0.9503 MB / 0.5854 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008202/0.5236, allocations: 212.2 kB / 0.5856 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5238, allocations: 63.42 kB / 0.5856 GB, free: 14.73 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5238, allocations: 0 / 0.5856 GB, free: 14.73 MB / 462.1 MB Notification: Performance of Templates: time 0.026/0.5498, allocations: 13.68 MB / 0.599 GB, free: 1.105 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: