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.008995/0.008995, allocations: 101 kB / 15.73 MB, free: 6.039 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.00161/0.00161, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.724/1.724, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.3716/0.3716, allocations: 38 MB / 307.9 MB, free: 10.08 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.001725/0.001725, allocations: 75.89 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3315, allocations: 56.47 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1825/0.5141, allocations: 147.6 MB / 0.6221 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008349/0.5225, allocations: 5.605 MB / 0.6276 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.5234, allocations: 23.81 kB / 0.6276 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.5247, allocations: 326 kB / 0.628 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.5271, allocations: 0.8707 MB / 0.6288 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.5301, allocations: 1.017 MB / 0.6298 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.5327, allocations: 1.809 MB / 0.6316 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.5335, allocations: 457.4 kB / 0.632 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5349, allocations: 0.7631 MB / 0.6327 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.5361, allocations: 0.7046 MB / 0.6334 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.5362, allocations: 64 kB / 0.6335 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.5375, allocations: 0.5381 MB / 0.634 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.5378, allocations: 267.3 kB / 0.6343 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.5382, allocations: 402.2 kB / 0.6347 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.5402, allocations: 1.139 MB / 0.6358 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5402, allocations: 0 / 0.6358 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5402, allocations: 0 / 0.6358 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.5403, allocations: 0 / 0.6358 GB, free: 1.438 MB / 0.4981 GB 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.002279/0.5425, allocations: 1.052 MB / 0.6368 GB, free: 344 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5426, allocations: 15.89 kB / 0.6368 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.543, allocations: 88.08 kB / 0.6369 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2011/0.744, allocations: 0.5324 MB / 0.6374 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.7442, allocations: 108.4 kB / 0.6375 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/0.7443, allocations: 45.84 kB / 0.6376 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.7455, allocations: 0.8138 MB / 0.6384 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.7456, allocations: 2.219 kB / 0.6384 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.7456, allocations: 23.45 kB / 0.6384 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.7457, allocations: 45.88 kB / 0.6384 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.7468, allocations: 0.6548 MB / 0.6391 GB, free: 143.9 MB / 0.4981 GB 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.003851/0.7506, allocations: 3.95 MB / 0.6429 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.7514, allocations: 429.3 kB / 0.6433 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.7517, allocations: 211 kB / 0.6435 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/0.7521, allocations: 0.7354 MB / 0.6443 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.7522, allocations: 39.03 kB / 0.6443 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.7522, allocations: 4.031 kB / 0.6443 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00301/0.7552, allocations: 1.541 MB / 0.6458 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.7552, allocations: 138 kB / 0.6459 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.7559, allocations: 0.5714 MB / 0.6465 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.7559, allocations: 37.14 kB / 0.6465 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.7561, allocations: 353 kB / 0.6469 GB, free: 138 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.7562, allocations: 161.8 kB / 0.647 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.7564, allocations: 151.2 kB / 0.6472 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.7565, allocations: 375.6 kB / 0.6475 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.7568, allocations: 216.2 kB / 0.6477 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.7573, allocations: 0.5106 MB / 0.6482 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.7581, allocations: 0.7624 MB / 0.649 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.7582, allocations: 2.156 kB / 0.649 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00145/0.7596, allocations: 0.908 MB / 0.6499 GB, free: 136 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7596, allocations: 9.156 kB / 0.6499 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.7597, allocations: 10.11 kB / 0.6499 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.761, allocations: 293.2 kB / 0.6502 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.7614, allocations: 118.2 kB / 0.6503 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008459/0.7622, allocations: 0.8923 MB / 0.6511 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.7626, allocations: 32.08 kB / 0.6512 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.7627, allocations: 33.73 kB / 0.6512 GB, free: 135.2 MB / 0.4981 GB 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.0002601/0.763, allocations: 240.3 kB / 0.6514 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.7631, allocations: 67.81 kB / 0.6515 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.7643, allocations: 0.7748 MB / 0.6523 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.7643, allocations: 6.609 kB / 0.6523 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7643, allocations: 2.375 kB / 0.6523 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.7644, allocations: 2.719 kB / 0.6523 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.7663, allocations: 1.414 MB / 0.6536 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.7663, allocations: 2.828 kB / 0.6536 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.7673, allocations: 208.5 kB / 0.6538 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.346e-05/0.7674, allocations: 23.5 kB / 0.6539 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.7674, allocations: 18.31 kB / 0.6539 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.7691, allocations: 2.866 MB / 0.6567 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7692, allocations: 5.656 kB / 0.6567 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.7707, allocations: 1.01 MB / 0.6577 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.771, allocations: 202.4 kB / 0.6579 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.7711, allocations: 17.47 kB / 0.6579 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.7714, allocations: 18.48 kB / 0.6579 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.7716, allocations: 33.14 kB / 0.6579 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.7716, allocations: 31.98 kB / 0.658 GB, free: 130 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006053/0.7722, allocations: 432.8 kB / 0.6584 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7722, allocations: 0 / 0.6584 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009381/0.7732, allocations: 224.6 kB / 0.6586 GB, free: 129.8 MB / 0.4981 GB 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.0005373/0.7737, allocations: 261.9 kB / 0.6588 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.775, allocations: 0.6046 MB / 0.6594 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.775, allocations: 0 / 0.6594 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.776, allocations: 459.9 kB / 0.6599 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.7775, allocations: 363.5 kB / 0.6602 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.7795, allocations: 1.371 MB / 0.6616 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.78, allocations: 0.9438 MB / 0.6625 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006795/0.7807, allocations: 208.9 kB / 0.6627 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.7808, allocations: 64.91 kB / 0.6627 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.7808, allocations: 0 / 0.6627 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.02803/0.8089, allocations: 15.66 MB / 0.678 GB, free: 120.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (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)