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.0013/0.001301, allocations: 170.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.001/0.001001, allocations: 94.92 kB / 281.6 MB, free: 5.336 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.2089/0.2089, allocations: 44.16 MB / 376.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.76e-05, allocations: 224 / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.652/1.811, allocations: 0.521 GB / 1.016 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.812, allocations: 91.94 kB / 1.016 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8351/2.647, allocations: 203.9 MB / 1.215 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.943e-06/2.647, allocations: 0 / 1.215 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.547e-05/2.647, allocations: 23.83 kB / 1.215 GB, free: 80.83 MB / 0.5105 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.003361/2.65, allocations: 1.036 MB / 1.216 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/2.65, allocations: 15.98 kB / 1.216 GB, free: 79.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/2.652, allocations: 131 kB / 1.216 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/2.653, allocations: 0.5426 MB / 1.217 GB, free: 79.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/2.653, allocations: 88.7 kB / 1.217 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/2.653, allocations: 28 kB / 1.217 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009348/2.654, allocations: 0.5297 MB / 1.217 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/2.655, allocations: 0.7292 MB / 1.218 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/2.655, allocations: 7.938 kB / 1.218 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/2.655, allocations: 7.953 kB / 1.218 GB, free: 77.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/2.655, allocations: 37.3 kB / 1.218 GB, free: 77.52 MB / 0.5105 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.004311/2.66, allocations: 3.955 MB / 1.222 GB, free: 73.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/2.66, allocations: 245.5 kB / 1.222 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/2.66, allocations: 141.2 kB / 1.222 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/2.66, allocations: 89.25 kB / 1.222 GB, free: 72.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/2.66, allocations: 38.8 kB / 1.222 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/2.66, allocations: 3.938 kB / 1.222 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005162/2.666, allocations: 1.378 MB / 1.224 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/2.666, allocations: 132.5 kB / 1.224 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/2.666, allocations: 458.1 kB / 1.224 GB, free: 70.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/2.666, allocations: 33.64 kB / 1.224 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/2.666, allocations: 402.7 kB / 1.225 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/2.667, allocations: 122.2 kB / 1.225 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/2.667, allocations: 0 / 1.225 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001132/2.667, allocations: 362.8 kB / 1.225 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/2.667, allocations: 181.5 kB / 1.225 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/2.667, allocations: 493 kB / 1.226 GB, free: 69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/2.668, allocations: 299.7 kB / 1.226 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/2.668, allocations: 4 kB / 1.226 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001307/2.669, allocations: 0.7948 MB / 1.227 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/2.669, allocations: 12 kB / 1.227 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/2.669, allocations: 8 kB / 1.227 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/2.67, allocations: 276.8 kB / 1.227 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/2.671, allocations: 127.8 kB / 1.227 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/2.672, allocations: 0.9533 MB / 1.228 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/2.673, allocations: 23.98 kB / 1.228 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/2.673, allocations: 67.98 kB / 1.228 GB, free: 66.41 MB / 0.5105 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.0001906/2.673, allocations: 144.5 kB / 1.228 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/2.673, allocations: 59.25 kB / 1.229 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/2.674, allocations: 0.5998 MB / 1.229 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/2.674, allocations: 4 kB / 1.229 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/2.674, allocations: 0 / 1.229 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/2.674, allocations: 3.953 kB / 1.229 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/2.676, allocations: 0.9803 MB / 1.23 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/2.676, allocations: 0 / 1.23 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/2.677, allocations: 195.8 kB / 1.23 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-05/2.677, allocations: 28.8 kB / 1.23 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/2.677, allocations: 12.03 kB / 1.23 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/2.678, allocations: 2.581 MB / 1.233 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.678, allocations: 0 / 1.233 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/2.679, allocations: 0.6892 MB / 1.233 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/2.68, allocations: 172.3 kB / 1.234 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/2.68, allocations: 0 / 1.234 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/2.68, allocations: 27.98 kB / 1.234 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/2.68, allocations: 35.95 kB / 1.234 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/2.681, allocations: 35.98 kB / 1.234 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005213/2.681, allocations: 342.9 kB / 1.234 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/2.681, allocations: 0 / 1.234 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001862/2.683, allocations: 287.8 kB / 1.234 GB, free: 59.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * 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.002549/2.686, allocations: 1.08 MB / 1.235 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001232/2.687, allocations: 491.7 kB / 1.236 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/2.687, allocations: 448 / 1.236 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009146/2.688, allocations: 357.6 kB / 1.236 GB, free: 58.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/2.689, allocations: 250.8 kB / 1.236 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/2.691, allocations: 0.8671 MB / 1.237 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/2.692, allocations: 0.9412 MB / 1.238 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001214/2.693, allocations: 404.8 kB / 1.239 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/2.693, allocations: 95.41 kB / 1.239 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/2.693, allocations: 0 / 1.239 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.02779/2.721, allocations: 17.67 MB / 1.256 GB, free: 37.93 MB / 0.5105 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)