Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.0008826/0.0008826, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008659/0.0008661, allocations: 168.7 kB / 15.95 MB, free: 204 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.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3013/0.3013, allocations: 38.04 MB / 308.4 MB, free: 10.42 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.1. 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.0005207/0.0005207, allocations: 16 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1043, allocations: 57.52 MB / 434 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3237/0.428, allocations: 134.4 MB / 0.555 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00816/0.4362, allocations: 5.336 MB / 0.5602 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008809/0.4371, allocations: 22.72 kB / 0.5602 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.4381, allocations: 260.8 kB / 0.5605 GB, free: 10.09 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001891/0.44, allocations: 0.8092 MB / 0.5613 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.4422, allocations: 0.7959 MB / 0.5621 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.4442, allocations: 2.2 MB / 0.5642 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.4447, allocations: 389.1 kB / 0.5646 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.4456, allocations: 0.6589 MB / 0.5652 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009223/0.4466, allocations: 0.6973 MB / 0.5659 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.4467, allocations: 32 kB / 0.5659 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.4477, allocations: 415.2 kB / 0.5663 GB, free: 6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.448, allocations: 231.3 kB / 0.5665 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.4482, allocations: 165.3 kB / 0.5667 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.4491, allocations: 0.8027 MB / 0.5675 GB, free: 4.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4491, allocations: 3.984 kB / 0.5675 GB, free: 4.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4491, allocations: 0 / 0.5675 GB, free: 4.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.4492, allocations: 0 / 0.5675 GB, free: 4.797 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.001651/0.4508, allocations: 0.9227 MB / 0.5684 GB, free: 3.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4509, allocations: 12.55 kB / 0.5684 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.4512, allocations: 91.02 kB / 0.5685 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.4518, allocations: 0.4928 MB / 0.569 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.199e-05/0.4519, allocations: 100.4 kB / 0.5691 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.452, allocations: 59.92 kB / 0.5691 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4533, allocations: 0.8072 MB / 0.5699 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.4533, allocations: 7.906 kB / 0.5699 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.4534, allocations: 23.95 kB / 0.5699 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.4535, allocations: 40.92 kB / 0.57 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.4544, allocations: 0.6479 MB / 0.5706 GB, free: 1.426 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.004109/0.4585, allocations: 3.952 MB / 0.5745 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.4593, allocations: 442.5 kB / 0.5749 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.4596, allocations: 201.4 kB / 0.5751 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.4603, allocations: 0.7365 MB / 0.5758 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.4603, allocations: 42.88 kB / 0.5759 GB, free: 11.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.623e-06/0.4603, allocations: 4 kB / 0.5759 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.002887/0.4632, allocations: 1.535 MB / 0.5774 GB, free: 9.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.4633, allocations: 132.5 kB / 0.5775 GB, free: 9.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.4641, allocations: 0.5615 MB / 0.578 GB, free: 9.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.4641, allocations: 37.7 kB / 0.5781 GB, free: 9.223 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.4644, allocations: 355 kB / 0.5784 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.4646, allocations: 161.7 kB / 0.5786 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.4646, allocations: 16 kB / 0.5786 GB, free: 8.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4648, allocations: 378.7 kB / 0.5789 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.4652, allocations: 213.9 kB / 0.5791 GB, free: 8.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.4657, allocations: 0.5084 MB / 0.5796 GB, free: 7.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.4662, allocations: 308.6 kB / 0.5799 GB, free: 7.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4662, allocations: 4 kB / 0.5799 GB, free: 7.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001652/0.4678, allocations: 0.9097 MB / 0.5808 GB, free: 6.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4679, allocations: 8 kB / 0.5808 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4679, allocations: 12 kB / 0.5808 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.4691, allocations: 289.1 kB / 0.5811 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.4695, allocations: 127.8 kB / 0.5812 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009038/0.4704, allocations: 0.8791 MB / 0.5821 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.4708, allocations: 47.95 kB / 0.5821 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.4709, allocations: 39.98 kB / 0.5822 GB, free: 4.824 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.0002978/0.4712, allocations: 250.5 kB / 0.5824 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.4713, allocations: 63.25 kB / 0.5825 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.4725, allocations: 0.7715 MB / 0.5832 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4725, allocations: 12 kB / 0.5832 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4725, allocations: 0 / 0.5832 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4725, allocations: 0 / 0.5832 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.4743, allocations: 1.411 MB / 0.5846 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4744, allocations: 0 / 0.5846 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009375/0.4753, allocations: 207.7 kB / 0.5848 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-05/0.4754, allocations: 20.84 kB / 0.5848 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.4754, allocations: 20.17 kB / 0.5849 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.4773, allocations: 2.679 MB / 0.5875 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4773, allocations: 7.969 kB / 0.5875 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.4786, allocations: 1.004 MB / 0.5885 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.4788, allocations: 208.1 kB / 0.5887 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.4789, allocations: 12 kB / 0.5887 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.4793, allocations: 27.98 kB / 0.5887 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.4794, allocations: 39.95 kB / 0.5887 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.4794, allocations: 23.98 kB / 0.5888 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004423/0.4799, allocations: 407 kB / 0.5891 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4799, allocations: 0 / 0.5891 GB, free: 13.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000729/0.4806, allocations: 227.9 kB / 0.5894 GB, free: 12.99 MB / 462.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.0004579/0.4811, allocations: 246.5 kB / 0.5896 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.4822, allocations: 0.6071 MB / 0.5902 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4822, allocations: 0 / 0.5902 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.4832, allocations: 462.1 kB / 0.5906 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.4847, allocations: 323.1 kB / 0.5909 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.487, allocations: 1.622 MB / 0.5925 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.4875, allocations: 0.9387 MB / 0.5934 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00065/0.4882, allocations: 213.6 kB / 0.5936 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.4883, allocations: 63.42 kB / 0.5937 GB, free: 8.465 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4884, allocations: 4 kB / 0.5937 GB, free: 8.461 MB / 462.1 MB Notification: Performance of Templates: time 0.02179/0.5101, allocations: 13.74 MB / 0.6071 GB, free: 10.76 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: