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.0008045/0.0008046, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005874/0.005874, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.326/1.326, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.2875/0.2875, allocations: 38.03 MB / 308.8 MB, free: 10.29 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.0005726/0.0005726, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09723, allocations: 57.51 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3127/0.4099, allocations: 144.1 MB / 0.5651 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006951/0.4169, allocations: 5.665 MB / 0.5706 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008751/0.4179, allocations: 30.66 kB / 0.5706 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009889/0.4189, allocations: 277.1 kB / 0.5709 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.421, allocations: 0.8156 MB / 0.5717 GB, free: 16 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.4237, allocations: 0.9259 MB / 0.5726 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00282/0.4265, allocations: 2.669 MB / 0.5752 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005901/0.4271, allocations: 408.1 kB / 0.5756 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.4282, allocations: 0.6576 MB / 0.5762 GB, free: 12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.4293, allocations: 0.728 MB / 0.5769 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.323e-05/0.4294, allocations: 32 kB / 0.577 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.4304, allocations: 0.5301 MB / 0.5775 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.4306, allocations: 235.3 kB / 0.5777 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.431, allocations: 395.9 kB / 0.5781 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.4321, allocations: 1.094 MB / 0.5792 GB, free: 8.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4321, allocations: 0 / 0.5792 GB, free: 8.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4321, allocations: 0 / 0.5792 GB, free: 8.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4321, allocations: 0 / 0.5792 GB, free: 8.98 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.001718/0.4338, allocations: 0.9149 MB / 0.58 GB, free: 8.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.4339, allocations: 19.97 kB / 0.5801 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.4342, allocations: 91.98 kB / 0.5802 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.4349, allocations: 0.5054 MB / 0.5806 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.4351, allocations: 96.97 kB / 0.5807 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.4352, allocations: 60.44 kB / 0.5808 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.4363, allocations: 0.8227 MB / 0.5816 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4363, allocations: 3.938 kB / 0.5816 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.4364, allocations: 20 kB / 0.5816 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/0.4365, allocations: 36.98 kB / 0.5817 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.4374, allocations: 0.6634 MB / 0.5823 GB, free: 5.582 MB / 446.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.003922/0.4414, allocations: 3.955 MB / 0.5862 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.4421, allocations: 438.9 kB / 0.5866 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.4424, allocations: 205.4 kB / 0.5868 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/0.4429, allocations: 0.7327 MB / 0.5875 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4429, allocations: 42.88 kB / 0.5875 GB, free: 15.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 3.146e-06/0.443, allocations: 0 / 0.5875 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002801/0.4458, allocations: 1.542 MB / 0.589 GB, free: 14.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.4458, allocations: 136.5 kB / 0.5892 GB, free: 13.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.4464, allocations: 0.5616 MB / 0.5897 GB, free: 13.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.4465, allocations: 41.64 kB / 0.5898 GB, free: 13.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4467, allocations: 355 kB / 0.5901 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4468, allocations: 161.7 kB / 0.5903 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.4469, allocations: 65.69 kB / 0.5903 GB, free: 12.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.447, allocations: 374.8 kB / 0.5907 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.4474, allocations: 221.8 kB / 0.5909 GB, free: 12.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.4478, allocations: 0.5162 MB / 0.5914 GB, free: 11.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.4487, allocations: 0.7523 MB / 0.5921 GB, free: 10.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4487, allocations: 4 kB / 0.5921 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001426/0.4501, allocations: 0.9175 MB / 0.593 GB, free: 9.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4502, allocations: 11.94 kB / 0.593 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4502, allocations: 8 kB / 0.593 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.4515, allocations: 285.2 kB / 0.5933 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.4519, allocations: 123.8 kB / 0.5934 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008874/0.4528, allocations: 0.8907 MB / 0.5943 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.4532, allocations: 44.05 kB / 0.5944 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.4533, allocations: 32 kB / 0.5944 GB, free: 8.324 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.0002893/0.4536, allocations: 255.6 kB / 0.5946 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.4537, allocations: 71.23 kB / 0.5947 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4549, allocations: 0.7702 MB / 0.5954 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4549, allocations: 11.94 kB / 0.5955 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4549, allocations: 0 / 0.5955 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4549, allocations: 0 / 0.5955 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.4567, allocations: 1.426 MB / 0.5968 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4567, allocations: 0 / 0.5968 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009634/0.4576, allocations: 195.8 kB / 0.597 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.866e-05/0.4577, allocations: 28.78 kB / 0.5971 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.4578, allocations: 16.17 kB / 0.5971 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.4595, allocations: 2.677 MB / 0.5997 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4595, allocations: 4.031 kB / 0.5997 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.4608, allocations: 1.011 MB / 0.6007 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.4611, allocations: 208.1 kB / 0.6009 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4612, allocations: 16 kB / 0.6009 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.4616, allocations: 35.86 kB / 0.6009 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.4617, allocations: 43.94 kB / 0.601 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.4618, allocations: 23.98 kB / 0.601 GB, free: 1.066 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004985/0.4623, allocations: 431 kB / 0.6014 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4623, allocations: 0 / 0.6014 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007816/0.4631, allocations: 220 kB / 0.6016 GB, free: 444 kB / 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 (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.0005269/0.4636, allocations: 254.5 kB / 0.6019 GB, free: 184 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.4648, allocations: 0.6068 MB / 0.6025 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.4648, allocations: 4 kB / 0.6025 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009819/0.4658, allocations: 462.3 kB / 0.6029 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.4678, allocations: 356.9 kB / 0.6032 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.4701, allocations: 1.684 MB / 0.6049 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.4706, allocations: 0.9388 MB / 0.6058 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007212/0.4713, allocations: 217.2 kB / 0.606 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.4715, allocations: 63.42 kB / 0.6061 GB, free: 11.79 MB / 478.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4715, allocations: 0 / 0.6061 GB, free: 11.79 MB / 478.1 MB Notification: Performance of Templates: time 0.02363/0.4952, allocations: 14.79 MB / 0.6205 GB, free: 13.04 MB / 494.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: