Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008298/0.00083, allocations: 87.03 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.0009842/0.0009841, 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.336/1.336, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.2933/0.2933, 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.0006534/0.0006537, allocations: 16 kB / 376.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1147, allocations: 57.52 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.398/0.5127, allocations: 163.9 MB / 0.5838 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.5228, allocations: 7.719 MB / 0.5914 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009399/0.5238, allocations: 19.81 kB / 0.5914 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.5247, allocations: 266.3 kB / 0.5916 GB, free: 12.75 MB / 462.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.003881/0.5286, allocations: 1.274 MB / 0.5929 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.5316, allocations: 0.8866 MB / 0.5938 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.5346, allocations: 2.242 MB / 0.5959 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.5352, allocations: 386.8 kB / 0.5963 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.5381, allocations: 1.05 MB / 0.5973 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.5392, allocations: 0.654 MB / 0.598 GB, free: 6.277 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-05/0.5393, allocations: 35.94 kB / 0.598 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.5409, allocations: 0.5928 MB / 0.5986 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.5412, allocations: 247.2 kB / 0.5988 GB, free: 5.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.5414, allocations: 165.4 kB / 0.599 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.5426, allocations: 0.9899 MB / 0.5999 GB, free: 4.246 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5426, allocations: 0 / 0.5999 GB, free: 4.246 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5426, allocations: 0 / 0.5999 GB, free: 4.246 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.5427, allocations: 0 / 0.5999 GB, free: 4.246 MB / 462.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.002102/0.5448, allocations: 0.9928 MB / 0.6009 GB, free: 3.207 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.5448, allocations: 8.562 kB / 0.6009 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.5456, allocations: 139 kB / 0.6011 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.5464, allocations: 492.7 kB / 0.6015 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.5465, allocations: 100.4 kB / 0.6016 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.881e-05/0.5466, allocations: 48 kB / 0.6017 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.5479, allocations: 0.8135 MB / 0.6025 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.548, allocations: 11.86 kB / 0.6025 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.5481, allocations: 24 kB / 0.6025 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.5481, allocations: 40.97 kB / 0.6025 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5492, allocations: 0.6204 MB / 0.6031 GB, free: 0.793 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.004652/0.5538, allocations: 3.97 MB / 0.607 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.5544, allocations: 359.5 kB / 0.6074 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.5547, allocations: 165.3 kB / 0.6075 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/0.5551, allocations: 369.4 kB / 0.6079 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.5552, allocations: 50.77 kB / 0.6079 GB, free: 11.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.5552, allocations: 0 / 0.6079 GB, free: 11.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005035/0.5602, allocations: 1.661 MB / 0.6095 GB, free: 9.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.5603, allocations: 136.5 kB / 0.6097 GB, free: 9.684 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.561, allocations: 0.6094 MB / 0.6103 GB, free: 9.066 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.5611, allocations: 37.7 kB / 0.6103 GB, free: 9.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.5614, allocations: 366.9 kB / 0.6107 GB, free: 8.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5615, allocations: 138 kB / 0.6108 GB, free: 8.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.5615, allocations: 12 kB / 0.6108 GB, free: 8.512 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5617, allocations: 374.8 kB / 0.6112 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.5621, allocations: 201.9 kB / 0.6113 GB, free: 7.941 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.5626, allocations: 0.5086 MB / 0.6118 GB, free: 7.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.5631, allocations: 291.6 kB / 0.6121 GB, free: 7.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5631, allocations: 4 kB / 0.6121 GB, free: 7 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001313/0.5644, allocations: 0.8837 MB / 0.613 GB, free: 6.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5644, allocations: 8 kB / 0.613 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5645, allocations: 12 kB / 0.613 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.5658, allocations: 316.9 kB / 0.6133 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.5661, allocations: 123.8 kB / 0.6134 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.5672, allocations: 0.9352 MB / 0.6143 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.5677, allocations: 48.03 kB / 0.6144 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5679, allocations: 60 kB / 0.6144 GB, free: 4.586 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.000409/0.5683, allocations: 249.5 kB / 0.6147 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.5684, allocations: 67.25 kB / 0.6147 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.57, allocations: 0.6888 MB / 0.6154 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.57, allocations: 8 kB / 0.6154 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.57, allocations: 0 / 0.6154 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5701, allocations: 3.984 kB / 0.6154 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.5724, allocations: 1.61 MB / 0.617 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5724, allocations: 0 / 0.617 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.5734, allocations: 203.8 kB / 0.6172 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.354e-05/0.5735, allocations: 28.97 kB / 0.6172 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.5735, allocations: 23.98 kB / 0.6172 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.5757, allocations: 2.684 MB / 0.6199 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5757, allocations: 7.875 kB / 0.6199 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5769, allocations: 0.7962 MB / 0.6207 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.5773, allocations: 196.4 kB / 0.6208 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5774, allocations: 19.88 kB / 0.6209 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.5778, allocations: 23.98 kB / 0.6209 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.5779, allocations: 39.94 kB / 0.6209 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.5779, allocations: 47.98 kB / 0.621 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005413/0.5785, allocations: 431 kB / 0.6214 GB, free: 13 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5785, allocations: 0 / 0.6214 GB, free: 13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001095/0.5796, allocations: 296 kB / 0.6217 GB, free: 12.71 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001038/0.5807, allocations: 364 kB / 0.622 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.5819, allocations: 0.5353 MB / 0.6225 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5819, allocations: 4 kB / 0.6225 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009748/0.5829, allocations: 414 kB / 0.6229 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5845, allocations: 341.7 kB / 0.6233 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.5871, allocations: 1.557 MB / 0.6248 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.5878, allocations: 0.9261 MB / 0.6257 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.5889, allocations: 254 kB / 0.6259 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.5892, allocations: 107.4 kB / 0.626 GB, free: 8.164 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5892, allocations: 0 / 0.626 GB, free: 8.164 MB / 494.1 MB Notification: Performance of Templates: time 0.2278/0.817, allocations: 17.08 MB / 0.6427 GB, free: 157.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) Environment - environmentSimulation: