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.0009326/0.0009328, allocations: 179.8 kB / 18.09 MB, free: 3.746 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.337/1.337, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 92.19 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3784/0.3784, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 8 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4181, allocations: 61.88 MB / 0.5107 GB, free: 38.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.553, allocations: 0.5219 GB / 1.033 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/1.554, allocations: 99.92 kB / 1.033 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7477/2.301, allocations: 205.7 MB / 1.234 GB, free: 77.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.083e-06/2.302, allocations: 0 / 1.234 GB, free: 77.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.664e-05/2.302, allocations: 16 kB / 1.234 GB, free: 77.46 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.003907/2.306, allocations: 1.111 MB / 1.235 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/2.306, allocations: 11.97 kB / 1.235 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/2.307, allocations: 136 kB / 1.235 GB, free: 76.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/2.308, allocations: 0.5608 MB / 1.235 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/2.308, allocations: 109.4 kB / 1.236 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/2.308, allocations: 48 kB / 1.236 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/2.31, allocations: 0.8307 MB / 1.236 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/2.31, allocations: 7.938 kB / 1.236 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/2.31, allocations: 24 kB / 1.236 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/2.31, allocations: 40.92 kB / 1.236 GB, free: 74.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/2.311, allocations: 0.6205 MB / 1.237 GB, free: 73.78 MB / 0.5261 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.004011/2.315, allocations: 3.936 MB / 1.241 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/2.315, allocations: 331 kB / 1.241 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/2.315, allocations: 165.3 kB / 1.241 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/2.316, allocations: 97.3 kB / 1.241 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/2.316, allocations: 50.78 kB / 1.242 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.963e-06/2.316, allocations: 0 / 1.242 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.0048/2.32, allocations: 1.653 MB / 1.243 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/2.321, allocations: 136.5 kB / 1.243 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/2.321, allocations: 0.6094 MB / 1.244 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/2.321, allocations: 29.7 kB / 1.244 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/2.321, allocations: 370.8 kB / 1.244 GB, free: 66.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/2.322, allocations: 142.1 kB / 1.244 GB, free: 65.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/2.322, allocations: 16 kB / 1.244 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/2.322, allocations: 374.8 kB / 1.245 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/2.322, allocations: 193.9 kB / 1.245 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/2.322, allocations: 0.5125 MB / 1.245 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/2.323, allocations: 0.7368 MB / 1.246 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/2.323, allocations: 0 / 1.246 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001277/2.324, allocations: 0.8754 MB / 1.247 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/2.325, allocations: 14.19 kB / 1.247 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.325, allocations: 8 kB / 1.247 GB, free: 62.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/2.326, allocations: 316.5 kB / 1.247 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/2.326, allocations: 123.8 kB / 1.247 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008648/2.327, allocations: 0.9192 MB / 1.248 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/2.328, allocations: 51.92 kB / 1.248 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/2.328, allocations: 71.98 kB / 1.248 GB, free: 61.35 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 () * 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 (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.0003253/2.328, allocations: 237.5 kB / 1.249 GB, free: 61.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/2.328, allocations: 71.23 kB / 1.249 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/2.33, allocations: 0.8615 MB / 1.25 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/2.33, allocations: 11.94 kB / 1.25 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.33, allocations: 0 / 1.25 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/2.33, allocations: 3.984 kB / 1.25 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/2.331, allocations: 1.442 MB / 1.251 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/2.331, allocations: 7.938 kB / 1.251 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/2.332, allocations: 203.8 kB / 1.251 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/2.332, allocations: 24.84 kB / 1.251 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/2.333, allocations: 19.98 kB / 1.251 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/2.334, allocations: 2.692 MB / 1.254 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.334, allocations: 4.031 kB / 1.254 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/2.335, allocations: 0.8092 MB / 1.255 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/2.335, allocations: 196.2 kB / 1.255 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/2.335, allocations: 16.06 kB / 1.255 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/2.336, allocations: 27.97 kB / 1.255 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/2.336, allocations: 47.81 kB / 1.255 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/2.336, allocations: 43.98 kB / 1.255 GB, free: 54.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004663/2.336, allocations: 431 kB / 1.255 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/2.336, allocations: 0 / 1.255 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001362/2.338, allocations: 327.8 kB / 1.256 GB, free: 53.43 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 () * 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 (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.00188/2.34, allocations: 0.9389 MB / 1.257 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001033/2.341, allocations: 0.5314 MB / 1.257 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.341, allocations: 4 kB / 1.257 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/2.342, allocations: 414.3 kB / 1.258 GB, free: 51.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/2.343, allocations: 345 kB / 1.258 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/2.345, allocations: 1.565 MB / 1.259 GB, free: 49.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/2.346, allocations: 0.9339 MB / 1.26 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001203/2.347, allocations: 458.4 kB / 1.261 GB, free: 48.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/2.347, allocations: 103.4 kB / 1.261 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/2.347, allocations: 4 kB / 1.261 GB, free: 48.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.03604/2.383, allocations: 26.66 MB / 1.287 GB, free: 21.54 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)