Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008371/0.008371, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001728/0.001728, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.474/1.474, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1925/0.1925, allocations: 39.96 MB / 309.9 MB, free: 4.023 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.2. 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.00139/0.00139, allocations: 75.89 kB / 435.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 56.88 MB / 492.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4225/0.5342, allocations: 179.7 MB / 0.6566 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.5449, allocations: 8.178 MB / 0.6646 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007362/0.5457, allocations: 23.81 kB / 0.6646 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009909/0.5467, allocations: 314 kB / 0.6649 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.5506, allocations: 1.483 MB / 0.6664 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.5534, allocations: 1.149 MB / 0.6675 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002197/0.5556, allocations: 1.849 MB / 0.6693 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007222/0.5563, allocations: 462.9 kB / 0.6698 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.559, allocations: 1.23 MB / 0.671 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.5601, allocations: 0.6579 MB / 0.6716 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.5603, allocations: 60 kB / 0.6717 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.562, allocations: 0.8293 MB / 0.6725 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.5623, allocations: 263.3 kB / 0.6727 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.5629, allocations: 398.2 kB / 0.6731 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.565, allocations: 1.418 MB / 0.6745 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.565, allocations: 0 / 0.6745 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.565, allocations: 0 / 0.6745 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.565, allocations: 0 / 0.6745 GB, free: 3.562 MB / 0.5137 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.002372/0.5674, allocations: 1.134 MB / 0.6756 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5675, allocations: 11.89 kB / 0.6756 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.5683, allocations: 139.1 kB / 0.6757 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.5692, allocations: 0.5352 MB / 0.6763 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.5693, allocations: 100.4 kB / 0.6764 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5694, allocations: 48 kB / 0.6764 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.5707, allocations: 0.8136 MB / 0.6772 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.5707, allocations: 7.938 kB / 0.6772 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/0.5708, allocations: 20 kB / 0.6772 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.5709, allocations: 36.98 kB / 0.6773 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5719, allocations: 0.6243 MB / 0.6779 GB, free: 15.92 MB / 0.5294 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.004362/0.5763, allocations: 3.981 MB / 0.6818 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.5768, allocations: 367.1 kB / 0.6821 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.5771, allocations: 169.3 kB / 0.6823 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.5775, allocations: 369.4 kB / 0.6826 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.5776, allocations: 38.84 kB / 0.6827 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.5776, allocations: 0 / 0.6827 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00552/0.5831, allocations: 1.662 MB / 0.6843 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.5832, allocations: 132.5 kB / 0.6844 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.5839, allocations: 0.621 MB / 0.685 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.584, allocations: 33.7 kB / 0.685 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.5842, allocations: 366.9 kB / 0.6854 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.5843, allocations: 145.9 kB / 0.6855 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.5845, allocations: 158.5 kB / 0.6857 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5847, allocations: 374.7 kB / 0.686 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.585, allocations: 209.8 kB / 0.6862 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.5856, allocations: 0.5125 MB / 0.6867 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009351/0.5865, allocations: 0.7485 MB / 0.6875 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5866, allocations: 7.938 kB / 0.6875 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001584/0.5881, allocations: 0.8681 MB / 0.6883 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5882, allocations: 12 kB / 0.6883 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5882, allocations: 8 kB / 0.6884 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.5896, allocations: 317.3 kB / 0.6887 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.59, allocations: 119.8 kB / 0.6888 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.591, allocations: 0.9385 MB / 0.6897 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.5915, allocations: 24 kB / 0.6897 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.5916, allocations: 67.98 kB / 0.6898 GB, free: 2.945 MB / 0.5294 GB 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.0002979/0.5919, allocations: 245.5 kB / 0.69 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.592, allocations: 75.19 kB / 0.6901 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.5933, allocations: 0.6763 MB / 0.6907 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5933, allocations: 7.984 kB / 0.6907 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5934, allocations: 0 / 0.6907 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5934, allocations: 4 kB / 0.6907 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.5955, allocations: 1.607 MB / 0.6923 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5955, allocations: 3.938 kB / 0.6923 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5966, allocations: 215.9 kB / 0.6925 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-05/0.5967, allocations: 20.84 kB / 0.6925 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.5967, allocations: 19.98 kB / 0.6926 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.5987, allocations: 2.873 MB / 0.6954 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5987, allocations: 4.031 kB / 0.6954 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.5999, allocations: 0.8088 MB / 0.6962 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.6002, allocations: 188.2 kB / 0.6963 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.6002, allocations: 15.92 kB / 0.6964 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.6006, allocations: 28 kB / 0.6964 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.6007, allocations: 35.95 kB / 0.6964 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.6008, allocations: 39.98 kB / 0.6965 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004897/0.6013, allocations: 443 kB / 0.6969 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6013, allocations: 0 / 0.6969 GB, free: 11.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008727/0.6022, allocations: 288 kB / 0.6972 GB, free: 10.87 MB / 0.545 GB 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.0008195/0.603, allocations: 380.2 kB / 0.6975 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.6041, allocations: 0.5464 MB / 0.6981 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6041, allocations: 0 / 0.6981 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.6051, allocations: 419.7 kB / 0.6985 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.6067, allocations: 373.8 kB / 0.6988 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.6089, allocations: 1.307 MB / 0.7001 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.6095, allocations: 0.9261 MB / 0.701 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008084/0.6103, allocations: 262 kB / 0.7012 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.6106, allocations: 103.4 kB / 0.7013 GB, free: 6.508 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.6106, allocations: 0 / 0.7013 GB, free: 6.508 MB / 0.545 GB Notification: Performance of Templates: time 0.02816/0.6387, allocations: 18.49 MB / 0.7194 GB, free: 4.035 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)