Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007907/0.0007908, allocations: 87.67 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.184/0.184, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.9e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.449/1.584, allocations: 0.5217 GB / 1.023 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.584, allocations: 95.94 kB / 1.023 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7365/2.321, allocations: 206.4 MB / 1.225 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/2.321, allocations: 0 / 1.225 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.255e-05/2.321, allocations: 18.91 kB / 1.225 GB, free: 118.8 MB / 0.5261 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.002355/2.323, allocations: 1.033 MB / 1.226 GB, free: 118 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/2.323, allocations: 10.97 kB / 1.226 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007849/2.324, allocations: 140.3 kB / 1.226 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/2.325, allocations: 0.5421 MB / 1.227 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.614e-05/2.325, allocations: 97.33 kB / 1.227 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/2.325, allocations: 53.27 kB / 1.227 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/2.326, allocations: 0.8072 MB / 1.228 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/2.326, allocations: 0 / 1.228 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/2.326, allocations: 24.47 kB / 1.228 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/2.327, allocations: 40.7 kB / 1.228 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/2.327, allocations: 0.6042 MB / 1.228 GB, free: 116.6 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003479/2.331, allocations: 3.939 MB / 1.232 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/2.331, allocations: 322.3 kB / 1.232 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/2.332, allocations: 161.3 kB / 1.233 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/2.332, allocations: 104.3 kB / 1.233 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/2.332, allocations: 42.56 kB / 1.233 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/2.332, allocations: 0 / 1.233 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.004803/2.337, allocations: 1.516 MB / 1.234 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/2.337, allocations: 132.2 kB / 1.234 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/2.337, allocations: 0.537 MB / 1.235 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/2.337, allocations: 32.77 kB / 1.235 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/2.337, allocations: 364.8 kB / 1.235 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/2.338, allocations: 150.2 kB / 1.235 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/2.338, allocations: 11.62 kB / 1.235 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001052/2.338, allocations: 378 kB / 1.236 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/2.338, allocations: 193.8 kB / 1.236 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/2.338, allocations: 0.5011 MB / 1.236 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/2.339, allocations: 287 kB / 1.237 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/2.339, allocations: 0 / 1.237 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001148/2.34, allocations: 0.8572 MB / 1.238 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/2.34, allocations: 15.61 kB / 1.238 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/2.34, allocations: 7.5 kB / 1.238 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/2.341, allocations: 301.6 kB / 1.238 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/2.342, allocations: 123.8 kB / 1.238 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008994/2.343, allocations: 0.9254 MB / 1.239 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/2.343, allocations: 47.97 kB / 1.239 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.905e-05/2.343, allocations: 63.98 kB / 1.239 GB, free: 107.9 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001852/2.343, allocations: 156.7 kB / 1.239 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/2.344, allocations: 79.09 kB / 1.239 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/2.345, allocations: 0.8423 MB / 1.24 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/2.345, allocations: 7.953 kB / 1.24 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/2.345, allocations: 4 kB / 1.24 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/2.345, allocations: 7.922 kB / 1.24 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/2.347, allocations: 1.426 MB / 1.241 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/2.347, allocations: 0 / 1.241 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00094/2.348, allocations: 211.8 kB / 1.242 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/2.348, allocations: 29.03 kB / 1.242 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/2.348, allocations: 23.98 kB / 1.242 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/2.35, allocations: 2.676 MB / 1.244 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/2.35, allocations: 8.094 kB / 1.244 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/2.351, allocations: 0.8626 MB / 1.245 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/2.351, allocations: 180.3 kB / 1.245 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/2.351, allocations: 11.98 kB / 1.245 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/2.351, allocations: 35.89 kB / 1.245 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/2.351, allocations: 43.91 kB / 1.245 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/2.352, allocations: 39.98 kB / 1.245 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004366/2.352, allocations: 427.1 kB / 1.246 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.352, allocations: 4 kB / 1.246 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001255/2.353, allocations: 330.7 kB / 1.246 GB, free: 99.98 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/2.355, allocations: 0.9313 MB / 1.247 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009538/2.356, allocations: 0.5313 MB / 1.248 GB, free: 98.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/2.356, allocations: 4 kB / 1.248 GB, free: 98.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/2.356, allocations: 410.5 kB / 1.248 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/2.358, allocations: 334.7 kB / 1.248 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/2.359, allocations: 0.9557 MB / 1.249 GB, free: 96.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/2.36, allocations: 0.9417 MB / 1.25 GB, free: 95.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0011/2.361, allocations: 470.3 kB / 1.251 GB, free: 95.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/2.361, allocations: 111.4 kB / 1.251 GB, free: 95.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/2.361, allocations: 0 / 1.251 GB, free: 95.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.03486/2.396, allocations: 28.37 MB / 1.278 GB, free: 67.09 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)