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.009132/0.009138, allocations: 101.3 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.001383/0.001383, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.712/1.712, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.4869/0.4869, allocations: 38 MB / 307.9 MB, free: 10.09 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.001639/0.001639, allocations: 71.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3418, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1942/0.536, allocations: 147.6 MB / 0.6221 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007191/0.5433, allocations: 5.613 MB / 0.6276 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000602/0.5439, allocations: 19.88 kB / 0.6276 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.5448, allocations: 322 kB / 0.628 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.5467, allocations: 0.855 MB / 0.6288 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.5493, allocations: 1.021 MB / 0.6298 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.5511, allocations: 1.797 MB / 0.6315 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.5517, allocations: 461.4 kB / 0.632 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.5529, allocations: 0.7513 MB / 0.6327 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.554, allocations: 0.7124 MB / 0.6334 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.5541, allocations: 64 kB / 0.6335 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.5554, allocations: 0.5381 MB / 0.634 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.5557, allocations: 263.3 kB / 0.6342 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.5561, allocations: 394.2 kB / 0.6346 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.5575, allocations: 1.143 MB / 0.6357 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5576, allocations: 4 kB / 0.6357 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5576, allocations: 4 kB / 0.6357 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.5576, allocations: 0 / 0.6357 GB, free: 1.477 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.002048/0.5596, allocations: 1.052 MB / 0.6368 GB, free: 384 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5597, allocations: 15.89 kB / 0.6368 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.5601, allocations: 88.08 kB / 0.6369 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2494/0.8095, allocations: 0.528 MB / 0.6374 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.8098, allocations: 102.8 kB / 0.6375 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8099, allocations: 50.94 kB / 0.6375 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.8115, allocations: 0.8107 MB / 0.6383 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.8115, allocations: 5.688 kB / 0.6383 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.8116, allocations: 23.09 kB / 0.6384 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.43e-05/0.8117, allocations: 46.83 kB / 0.6384 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.8129, allocations: 0.6462 MB / 0.639 GB, free: 144 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.00503/0.8179, allocations: 3.959 MB / 0.6429 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.8188, allocations: 424.4 kB / 0.6433 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.8192, allocations: 208.1 kB / 0.6435 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/0.8198, allocations: 0.7386 MB / 0.6442 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.8198, allocations: 39.2 kB / 0.6443 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/0.8199, allocations: 3.938 kB / 0.6443 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003558/0.8234, allocations: 1.541 MB / 0.6458 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.8235, allocations: 143 kB / 0.6459 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.8243, allocations: 0.5722 MB / 0.6465 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.8243, allocations: 31.77 kB / 0.6465 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.8246, allocations: 352.7 kB / 0.6468 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.8247, allocations: 166 kB / 0.647 GB, free: 138 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.8249, allocations: 138.5 kB / 0.6471 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.825, allocations: 375.8 kB / 0.6475 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.8254, allocations: 215.5 kB / 0.6477 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.826, allocations: 0.5114 MB / 0.6482 GB, free: 137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.8269, allocations: 0.7667 MB / 0.6489 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.8269, allocations: 3 kB / 0.6489 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00169/0.8286, allocations: 0.9095 MB / 0.6498 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.8287, allocations: 13.23 kB / 0.6498 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.8287, allocations: 20.53 kB / 0.6499 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.8301, allocations: 276.9 kB / 0.6501 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.8305, allocations: 124.5 kB / 0.6502 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009143/0.8314, allocations: 0.8914 MB / 0.6511 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.832, allocations: 29.05 kB / 0.6511 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.832, allocations: 37.52 kB / 0.6512 GB, free: 135.3 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.0003522/0.8324, allocations: 243.3 kB / 0.6514 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.8325, allocations: 73.59 kB / 0.6515 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.8339, allocations: 0.7738 MB / 0.6522 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.8339, allocations: 6.016 kB / 0.6522 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.8339, allocations: 1.062 kB / 0.6522 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.8339, allocations: 2.484 kB / 0.6522 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.836, allocations: 1.412 MB / 0.6536 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.836, allocations: 2.172 kB / 0.6536 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.8371, allocations: 209.8 kB / 0.6538 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.67e-05/0.8372, allocations: 24.83 kB / 0.6538 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.8373, allocations: 10.72 kB / 0.6539 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.8388, allocations: 2.872 MB / 0.6567 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8388, allocations: 2.375 kB / 0.6567 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.8403, allocations: 1.009 MB / 0.6576 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.8406, allocations: 206.7 kB / 0.6578 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.8407, allocations: 12.72 kB / 0.6579 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.8411, allocations: 18.5 kB / 0.6579 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.8413, allocations: 42.41 kB / 0.6579 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.8413, allocations: 26.8 kB / 0.6579 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005497/0.8419, allocations: 429.1 kB / 0.6583 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8419, allocations: 0 / 0.6583 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008625/0.8428, allocations: 226 kB / 0.6586 GB, free: 129.9 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.0005367/0.8433, allocations: 264.8 kB / 0.6588 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.8446, allocations: 0.6047 MB / 0.6594 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.8447, allocations: 5.312 kB / 0.6594 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.8459, allocations: 458.8 kB / 0.6598 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.8477, allocations: 361.8 kB / 0.6602 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.85, allocations: 1.368 MB / 0.6615 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.8505, allocations: 0.9358 MB / 0.6624 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008409/0.8513, allocations: 215.2 kB / 0.6626 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.8515, allocations: 64.05 kB / 0.6627 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.8515, allocations: 0 / 0.6627 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.02976/0.8813, allocations: 15.66 MB / 0.678 GB, free: 120.6 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)