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.001032/0.001032, allocations: 174.4 kB / 8.74 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.423/1.423, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0008834/0.0008835, allocations: 89.84 kB / 281.6 MB, free: 5.324 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.2269/0.2269, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.812e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1605, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.742/1.903, allocations: 0.521 GB / 1.016 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.903, allocations: 95.42 kB / 1.016 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9006/2.804, allocations: 203.9 MB / 1.215 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/2.804, allocations: 0 / 1.215 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.043e-05/2.804, allocations: 20 kB / 1.215 GB, free: 69.39 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.00319/2.807, allocations: 1.039 MB / 1.216 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/2.807, allocations: 11.98 kB / 1.216 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/2.808, allocations: 139 kB / 1.216 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/2.81, allocations: 0.5446 MB / 1.217 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/2.81, allocations: 80.72 kB / 1.217 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/2.81, allocations: 31.94 kB / 1.217 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000966/2.811, allocations: 0.5258 MB / 1.217 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/2.812, allocations: 0.7409 MB / 1.218 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/2.812, allocations: 3.938 kB / 1.218 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/2.812, allocations: 4 kB / 1.218 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/2.812, allocations: 37.3 kB / 1.218 GB, free: 66.07 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.004246/2.817, allocations: 3.951 MB / 1.222 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/2.817, allocations: 259.2 kB / 1.222 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/2.817, allocations: 125.3 kB / 1.222 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/2.817, allocations: 92.86 kB / 1.222 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/2.817, allocations: 38.78 kB / 1.222 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.484e-06/2.817, allocations: 0 / 1.222 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004882/2.822, allocations: 1.389 MB / 1.224 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/2.822, allocations: 132.5 kB / 1.224 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/2.823, allocations: 458.1 kB / 1.224 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/2.823, allocations: 25.7 kB / 1.224 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/2.823, allocations: 401.5 kB / 1.225 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/2.823, allocations: 118.3 kB / 1.225 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/2.823, allocations: 0 / 1.225 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/2.823, allocations: 370.8 kB / 1.225 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/2.823, allocations: 181.5 kB / 1.225 GB, free: 58.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/2.824, allocations: 493.1 kB / 1.226 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/2.824, allocations: 291.6 kB / 1.226 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/2.824, allocations: 4 kB / 1.226 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001132/2.825, allocations: 0.7976 MB / 1.227 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/2.825, allocations: 13.19 kB / 1.227 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/2.825, allocations: 12.77 kB / 1.227 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/2.826, allocations: 282 kB / 1.227 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/2.827, allocations: 119.8 kB / 1.227 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008513/2.828, allocations: 0.9451 MB / 1.228 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/2.828, allocations: 43.86 kB / 1.228 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/2.828, allocations: 68 kB / 1.228 GB, free: 54.95 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.0001551/2.829, allocations: 124.8 kB / 1.228 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/2.829, allocations: 71.17 kB / 1.228 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/2.83, allocations: 0.5921 MB / 1.229 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/2.83, allocations: 7.984 kB / 1.229 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.83, allocations: 7.953 kB / 1.229 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/2.83, allocations: 0 / 1.229 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/2.831, allocations: 0.9806 MB / 1.23 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/2.831, allocations: 3.953 kB / 1.23 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009539/2.832, allocations: 203.8 kB / 1.23 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-05/2.832, allocations: 20.84 kB / 1.23 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/2.832, allocations: 11.98 kB / 1.23 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/2.833, allocations: 2.577 MB / 1.233 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.833, allocations: 0 / 1.233 GB, free: 50.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/2.834, allocations: 0.6889 MB / 1.233 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/2.835, allocations: 172.5 kB / 1.234 GB, free: 49.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/2.835, allocations: 8 kB / 1.234 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/2.835, allocations: 19.97 kB / 1.234 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/2.835, allocations: 27.97 kB / 1.234 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/2.835, allocations: 35.98 kB / 1.234 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003493/2.836, allocations: 342.9 kB / 1.234 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.836, allocations: 4 kB / 1.234 GB, free: 48.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001209/2.837, allocations: 291.8 kB / 1.234 GB, free: 48.44 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.001556/2.838, allocations: 1.063 MB / 1.235 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009084/2.839, allocations: 495.5 kB / 1.236 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.839, allocations: 0 / 1.236 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007205/2.84, allocations: 366.7 kB / 1.236 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/2.841, allocations: 254.3 kB / 1.236 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/2.843, allocations: 0.8709 MB / 1.237 GB, free: 45.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/2.843, allocations: 0.9373 MB / 1.238 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001038/2.844, allocations: 404.8 kB / 1.239 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/2.844, allocations: 103.4 kB / 1.239 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/2.844, allocations: 0 / 1.239 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.02456/2.869, allocations: 17.66 MB / 1.256 GB, free: 26.47 MB / 0.5105 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)