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.001592/0.001592, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002368/0.002368, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.78/1.78, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3423/0.3423, allocations: 37.99 MB / 307.8 MB, free: 10.04 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.001709/0.001709, allocations: 72.47 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1364, allocations: 56.46 MB / 431.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4482/0.5846, allocations: 179.7 MB / 0.5971 GB, free: 3.766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.5968, allocations: 8.167 MB / 0.6051 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008992/0.5978, allocations: 23.81 kB / 0.6051 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.5989, allocations: 325.9 kB / 0.6054 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.6036, allocations: 1.48 MB / 0.6068 GB, free: 9.758 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.607, allocations: 1.144 MB / 0.608 GB, free: 8.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.6097, allocations: 1.844 MB / 0.6098 GB, free: 6.777 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008651/0.6105, allocations: 463 kB / 0.6102 GB, free: 6.324 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.6137, allocations: 1.236 MB / 0.6114 GB, free: 5.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.6153, allocations: 0.6578 MB / 0.6121 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004238/0.6157, allocations: 64 kB / 0.6121 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.6186, allocations: 0.7372 MB / 0.6128 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004939/0.6191, allocations: 255.3 kB / 0.6131 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.6198, allocations: 402.2 kB / 0.6135 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.6223, allocations: 1.41 MB / 0.6148 GB, free: 1.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6223, allocations: 0 / 0.6148 GB, free: 1.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6223, allocations: 0 / 0.6148 GB, free: 1.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.6223, allocations: 0 / 0.6148 GB, free: 1.57 MB / 478.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.002391/0.6247, allocations: 1.133 MB / 0.6159 GB, free: 400 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.6248, allocations: 11.89 kB / 0.616 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008115/0.6256, allocations: 139.1 kB / 0.6161 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.6264, allocations: 0.5041 MB / 0.6166 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6265, allocations: 104.4 kB / 0.6167 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.6266, allocations: 48 kB / 0.6167 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.6278, allocations: 0.8136 MB / 0.6175 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6279, allocations: 11.84 kB / 0.6175 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/0.628, allocations: 27.98 kB / 0.6176 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.659e-05/0.628, allocations: 40.98 kB / 0.6176 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.629, allocations: 0.6204 MB / 0.6182 GB, free: 13.94 MB / 494.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.004584/0.6336, allocations: 3.989 MB / 0.6221 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.6342, allocations: 362.7 kB / 0.6224 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.6345, allocations: 169.3 kB / 0.6226 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/0.635, allocations: 361.4 kB / 0.623 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.6351, allocations: 42.03 kB / 0.623 GB, free: 8.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.6351, allocations: 0 / 0.623 GB, free: 8.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005735/0.6408, allocations: 1.665 MB / 0.6246 GB, free: 6.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.6409, allocations: 132.5 kB / 0.6247 GB, free: 6.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.6416, allocations: 0.6326 MB / 0.6254 GB, free: 6.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.6417, allocations: 33.7 kB / 0.6254 GB, free: 6.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.6419, allocations: 362.9 kB / 0.6257 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6421, allocations: 146 kB / 0.6259 GB, free: 5.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.6423, allocations: 158.5 kB / 0.626 GB, free: 5.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6425, allocations: 374.8 kB / 0.6264 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.6428, allocations: 201.9 kB / 0.6266 GB, free: 4.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.6433, allocations: 0.5164 MB / 0.6271 GB, free: 4.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/0.6443, allocations: 0.7446 MB / 0.6278 GB, free: 3.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6443, allocations: 0.875 kB / 0.6278 GB, free: 3.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001445/0.6458, allocations: 0.8838 MB / 0.6287 GB, free: 2.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.6458, allocations: 8 kB / 0.6287 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.6459, allocations: 16.12 kB / 0.6287 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6473, allocations: 315.7 kB / 0.629 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.6477, allocations: 127.8 kB / 0.6291 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.6488, allocations: 0.9309 MB / 0.63 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.6493, allocations: 28 kB / 0.6301 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.6494, allocations: 63.98 kB / 0.6301 GB, free: 0.9648 MB / 494.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 (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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003848/0.6498, allocations: 245.5 kB / 0.6304 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.65, allocations: 71.09 kB / 0.6304 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2256/0.8756, allocations: 0.6724 MB / 0.6311 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.8757, allocations: 6.5 kB / 0.6311 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8757, allocations: 5.5 kB / 0.6311 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.8757, allocations: 2.109 kB / 0.6311 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.878, allocations: 1.603 MB / 0.6327 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.878, allocations: 6.641 kB / 0.6327 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.879, allocations: 206.1 kB / 0.6329 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.169e-05/0.8791, allocations: 24.72 kB / 0.6329 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.8792, allocations: 28.09 kB / 0.6329 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.8806, allocations: 2.87 MB / 0.6357 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8806, allocations: 4.547 kB / 0.6357 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.8818, allocations: 0.8049 MB / 0.6365 GB, free: 159.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.882, allocations: 191.5 kB / 0.6367 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.8821, allocations: 18.38 kB / 0.6367 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.8825, allocations: 17.69 kB / 0.6367 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.8826, allocations: 37.81 kB / 0.6368 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.8827, allocations: 47.53 kB / 0.6368 GB, free: 159.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.8831, allocations: 439 kB / 0.6372 GB, free: 159.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8831, allocations: 0 / 0.6372 GB, free: 159.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008502/0.884, allocations: 294.7 kB / 0.6375 GB, free: 159.7 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 (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.0007691/0.8848, allocations: 364.4 kB / 0.6379 GB, free: 159.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.8859, allocations: 0.597 MB / 0.6384 GB, free: 159.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8859, allocations: 1.094 kB / 0.6384 GB, free: 159.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.8868, allocations: 420.3 kB / 0.6388 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.8883, allocations: 363.8 kB / 0.6392 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.8904, allocations: 1.339 MB / 0.6405 GB, free: 158.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.8909, allocations: 0.9333 MB / 0.6414 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001555/0.8924, allocations: 268.4 kB / 0.6417 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.8929, allocations: 95.17 kB / 0.6417 GB, free: 157.9 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.8929, allocations: 3.375 kB / 0.6418 GB, free: 157.9 MB / 494.1 MB Notification: Performance of Templates: time 0.03795/0.9309, allocations: 18.34 MB / 0.6597 GB, free: 156.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (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)