Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001171/0.001171, 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.001257/0.001257, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.624/1.624, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.3278/0.3278, allocations: 38 MB / 307.7 MB, free: 9.973 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.001503/0.001503, allocations: 63.91 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 56.46 MB / 431.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4159/0.5334, allocations: 179.7 MB / 0.5971 GB, free: 3.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.5449, allocations: 8.169 MB / 0.6051 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.5458, allocations: 19.88 kB / 0.6051 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5468, allocations: 326 kB / 0.6054 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.5506, allocations: 1.478 MB / 0.6068 GB, free: 9.766 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.5534, allocations: 1.145 MB / 0.608 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.5555, allocations: 1.844 MB / 0.6098 GB, free: 6.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007106/0.5562, allocations: 468.6 kB / 0.6102 GB, free: 6.328 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.5592, allocations: 1.231 MB / 0.6114 GB, free: 5.098 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009838/0.5602, allocations: 0.6695 MB / 0.6121 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.5603, allocations: 60 kB / 0.6121 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.562, allocations: 0.7256 MB / 0.6128 GB, free: 3.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.5622, allocations: 267.3 kB / 0.6131 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.5627, allocations: 398.2 kB / 0.6135 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.5646, allocations: 1.414 MB / 0.6148 GB, free: 1.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5647, allocations: 0 / 0.6148 GB, free: 1.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.5647, allocations: 0 / 0.6148 GB, free: 1.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.5647, 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.5671, allocations: 1.128 MB / 0.6159 GB, free: 408 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5671, allocations: 15.89 kB / 0.616 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.568, allocations: 139.1 kB / 0.6161 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/0.5688, allocations: 0.5041 MB / 0.6166 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.569, allocations: 104.3 kB / 0.6167 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/0.5691, allocations: 51.98 kB / 0.6167 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.5703, allocations: 0.8106 MB / 0.6175 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5703, allocations: 11.89 kB / 0.6175 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.5704, allocations: 27.98 kB / 0.6176 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.5705, allocations: 40.92 kB / 0.6176 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.5715, allocations: 0.6127 MB / 0.6182 GB, free: 13.95 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.004669/0.5762, allocations: 3.997 MB / 0.6221 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.5768, allocations: 355.6 kB / 0.6224 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.5771, allocations: 169.3 kB / 0.6226 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004796/0.5776, allocations: 357.5 kB / 0.6229 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5776, allocations: 42.83 kB / 0.623 GB, free: 8.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.304e-06/0.5776, allocations: 0 / 0.623 GB, free: 8.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005717/0.5834, allocations: 1.661 MB / 0.6246 GB, free: 7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.5834, allocations: 136.5 kB / 0.6247 GB, free: 6.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.5841, allocations: 0.621 MB / 0.6253 GB, free: 6.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.5842, allocations: 33.7 kB / 0.6254 GB, free: 6.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.5844, allocations: 366.8 kB / 0.6257 GB, free: 5.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.5846, allocations: 146 kB / 0.6259 GB, free: 5.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.5848, allocations: 158.5 kB / 0.626 GB, free: 5.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5849, allocations: 374.8 kB / 0.6264 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.5853, allocations: 208.6 kB / 0.6266 GB, free: 4.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.5858, allocations: 0.5125 MB / 0.6271 GB, free: 4.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.5868, allocations: 0.7446 MB / 0.6278 GB, free: 3.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5869, allocations: 4 kB / 0.6278 GB, free: 3.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001442/0.5883, allocations: 0.8872 MB / 0.6287 GB, free: 2.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5883, allocations: 8 kB / 0.6287 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5884, allocations: 12 kB / 0.6287 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5898, allocations: 317.2 kB / 0.629 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.5902, allocations: 127.8 kB / 0.6291 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.5912, allocations: 0.927 MB / 0.63 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.5917, allocations: 28.06 kB / 0.6301 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/0.5918, allocations: 67.98 kB / 0.6301 GB, free: 0.9766 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.0003187/0.5921, allocations: 249.4 kB / 0.6304 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5923, allocations: 71.09 kB / 0.6304 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2072/0.7994, allocations: 0.6894 MB / 0.6311 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.7995, allocations: 2.656 kB / 0.6311 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.7995, allocations: 2.781 kB / 0.6311 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.7996, allocations: 2.531 kB / 0.6311 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.802, allocations: 1.603 MB / 0.6327 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.802, allocations: 3.031 kB / 0.6327 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/0.803, allocations: 204.2 kB / 0.6329 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.279e-05/0.8031, allocations: 30.66 kB / 0.6329 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.8031, allocations: 19.59 kB / 0.6329 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.8044, allocations: 2.873 MB / 0.6357 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8044, allocations: 0 / 0.6357 GB, free: 160.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.8055, allocations: 0.8053 MB / 0.6365 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.8057, allocations: 191.9 kB / 0.6367 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/0.8058, allocations: 7.031 kB / 0.6367 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.8062, allocations: 25.09 kB / 0.6367 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.8063, allocations: 41.59 kB / 0.6368 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.8064, allocations: 43.52 kB / 0.6368 GB, free: 160 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004276/0.8068, allocations: 443.5 kB / 0.6372 GB, free: 159.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8069, allocations: 0 / 0.6372 GB, free: 159.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008553/0.8077, allocations: 293.7 kB / 0.6375 GB, free: 159.9 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.0007186/0.8084, allocations: 359.4 kB / 0.6378 GB, free: 159.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.8095, allocations: 0.6053 MB / 0.6384 GB, free: 159.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8095, allocations: 0 / 0.6384 GB, free: 159.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.8104, allocations: 415.9 kB / 0.6388 GB, free: 159.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.8119, allocations: 364.5 kB / 0.6392 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.8135, allocations: 1.331 MB / 0.6405 GB, free: 158.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.8138, allocations: 0.931 MB / 0.6414 GB, free: 158.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000853/0.8147, allocations: 269.3 kB / 0.6416 GB, free: 158 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.815, allocations: 105.4 kB / 0.6417 GB, free: 158 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.815, allocations: 0 / 0.6417 GB, free: 158 MB / 494.1 MB Notification: Performance of Templates: time 0.02826/0.8432, allocations: 18.34 MB / 0.6597 GB, free: 156.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)