Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 178 kB / 17.06 MB, free: 5.098 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.345/1.345, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008176/0.0008176, allocations: 89.52 kB / 292.2 MB, free: 10.7 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.3773/0.3773, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 8 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4578, allocations: 61.9 MB / 0.5096 GB, free: 37.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.664, allocations: 0.5218 GB / 1.031 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004125/1.664, allocations: 103.8 kB / 1.031 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8034/2.468, allocations: 206.9 MB / 1.233 GB, free: 74.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.384e-06/2.468, allocations: 0 / 1.233 GB, free: 74.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001014/2.468, allocations: 24.14 kB / 1.234 GB, free: 74.92 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.004348/2.472, allocations: 1.111 MB / 1.235 GB, free: 73.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/2.472, allocations: 12.03 kB / 1.235 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/2.474, allocations: 131.1 kB / 1.235 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/2.475, allocations: 0.5481 MB / 1.235 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/2.475, allocations: 96.41 kB / 1.235 GB, free: 72.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/2.476, allocations: 59.84 kB / 1.235 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/2.477, allocations: 0.8151 MB / 1.236 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/2.477, allocations: 4 kB / 1.236 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/2.477, allocations: 27.98 kB / 1.236 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.607e-05/2.477, allocations: 40.97 kB / 1.236 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/2.478, allocations: 0.6243 MB / 1.237 GB, free: 71.27 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.004598/2.483, allocations: 3.925 MB / 1.241 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/2.483, allocations: 339.8 kB / 1.241 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/2.484, allocations: 85.39 kB / 1.241 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/2.484, allocations: 42.83 kB / 1.241 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.614e-06/2.484, allocations: 4 kB / 1.241 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005365/2.489, allocations: 1.65 MB / 1.243 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/2.489, allocations: 132.5 kB / 1.243 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/2.49, allocations: 0.5421 MB / 1.243 GB, free: 64.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/2.49, allocations: 37.69 kB / 1.243 GB, free: 64.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/2.49, allocations: 366.9 kB / 1.244 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/2.49, allocations: 138 kB / 1.244 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/2.49, allocations: 16 kB / 1.244 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/2.49, allocations: 374.8 kB / 1.244 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/2.491, allocations: 201.9 kB / 1.245 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/2.491, allocations: 0.5007 MB / 1.245 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/2.491, allocations: 300.4 kB / 1.245 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/2.491, allocations: 4 kB / 1.245 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001293/2.493, allocations: 0.8685 MB / 1.246 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/2.493, allocations: 15.89 kB / 1.246 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/2.493, allocations: 12 kB / 1.246 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/2.494, allocations: 307 kB / 1.246 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/2.495, allocations: 123.8 kB / 1.247 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000915/2.495, allocations: 0.9366 MB / 1.248 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/2.496, allocations: 43.89 kB / 1.248 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/2.496, allocations: 64.09 kB / 1.248 GB, free: 59.68 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.0003775/2.497, allocations: 261.4 kB / 1.248 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/2.497, allocations: 63.25 kB / 1.248 GB, free: 59.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/2.498, allocations: 0.8538 MB / 1.249 GB, free: 58.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/2.498, allocations: 7.953 kB / 1.249 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/2.498, allocations: 4 kB / 1.249 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/2.498, allocations: 3.984 kB / 1.249 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/2.5, allocations: 1.433 MB / 1.25 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/2.5, allocations: 4 kB / 1.25 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/2.501, allocations: 212 kB / 1.25 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/2.501, allocations: 24.78 kB / 1.25 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/2.501, allocations: 23.98 kB / 1.25 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/2.503, allocations: 2.696 MB / 1.253 GB, free: 53.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/2.503, allocations: 7.922 kB / 1.253 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/2.504, allocations: 0.8746 MB / 1.254 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/2.504, allocations: 188.3 kB / 1.254 GB, free: 52.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/2.505, allocations: 8 kB / 1.254 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/2.505, allocations: 27.98 kB / 1.254 GB, free: 52.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/2.505, allocations: 39.91 kB / 1.254 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/2.505, allocations: 43.98 kB / 1.254 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005037/2.506, allocations: 435 kB / 1.255 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.506, allocations: 0 / 1.255 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001552/2.507, allocations: 331.8 kB / 1.255 GB, free: 51.65 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.001992/2.509, allocations: 0.9456 MB / 1.256 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001146/2.51, allocations: 0.5545 MB / 1.256 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/2.51, allocations: 4 kB / 1.256 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008528/2.511, allocations: 394.3 kB / 1.257 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/2.513, allocations: 335.5 kB / 1.257 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/2.515, allocations: 1.56 MB / 1.259 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/2.516, allocations: 0.9456 MB / 1.26 GB, free: 46.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001278/2.517, allocations: 458.4 kB / 1.26 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/2.517, allocations: 107.4 kB / 1.26 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/2.517, allocations: 0 / 1.26 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.03675/2.554, allocations: 25.85 MB / 1.285 GB, free: 20.59 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)