Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001794/0.001794, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009908/0.0009909, allocations: 97.78 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 45.14 MB / 383.8 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.495e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.57/1.698, allocations: 0.522 GB / 1.026 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.699, allocations: 94.75 kB / 1.026 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7663/2.465, allocations: 204.7 MB / 1.226 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/2.465, allocations: 0 / 1.226 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.334e-05/2.465, allocations: 19.22 kB / 1.226 GB, free: 120.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.002314/2.467, allocations: 1.037 MB / 1.227 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/2.467, allocations: 18.7 kB / 1.227 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007549/2.468, allocations: 133.3 kB / 1.228 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/2.469, allocations: 0.5418 MB / 1.228 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.687e-05/2.469, allocations: 85.73 kB / 1.228 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/2.469, allocations: 27.44 kB / 1.228 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007999/2.47, allocations: 0.5313 MB / 1.229 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/2.471, allocations: 0.737 MB / 1.229 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/2.471, allocations: 7.375 kB / 1.229 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/2.471, allocations: 3.188 kB / 1.229 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/2.471, allocations: 40.47 kB / 1.23 GB, free: 119.1 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.003767/2.475, allocations: 3.973 MB / 1.233 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/2.475, allocations: 255.3 kB / 1.234 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/2.475, allocations: 128.2 kB / 1.234 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.11e-05/2.476, allocations: 88.45 kB / 1.234 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/2.476, allocations: 45.33 kB / 1.234 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/2.476, allocations: 0 / 1.234 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.004649/2.48, allocations: 1.39 MB / 1.235 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/2.48, allocations: 134.3 kB / 1.235 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/2.481, allocations: 461.4 kB / 1.236 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/2.481, allocations: 25.7 kB / 1.236 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/2.481, allocations: 403.3 kB / 1.236 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/2.481, allocations: 118.6 kB / 1.236 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/2.481, allocations: 0 / 1.236 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/2.481, allocations: 367.2 kB / 1.237 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/2.482, allocations: 182.2 kB / 1.237 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/2.482, allocations: 0.489 MB / 1.237 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/2.482, allocations: 296.4 kB / 1.238 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.482, allocations: 3.344 kB / 1.238 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001182/2.484, allocations: 0.7901 MB / 1.238 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/2.484, allocations: 14.23 kB / 1.238 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/2.484, allocations: 11.78 kB / 1.238 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/2.485, allocations: 275.5 kB / 1.239 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/2.485, allocations: 126.7 kB / 1.239 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/2.486, allocations: 0.943 MB / 1.24 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/2.487, allocations: 35.52 kB / 1.24 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/2.487, allocations: 63.16 kB / 1.24 GB, free: 112.1 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.0002068/2.487, allocations: 136.8 kB / 1.24 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/2.487, allocations: 59.59 kB / 1.24 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/2.489, allocations: 0.5888 MB / 1.241 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/2.489, allocations: 7.609 kB / 1.241 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/2.489, allocations: 2.812 kB / 1.241 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/2.489, allocations: 3.938 kB / 1.241 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/2.49, allocations: 0.9827 MB / 1.242 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/2.49, allocations: 0 / 1.242 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009458/2.491, allocations: 201 kB / 1.242 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.66e-05/2.491, allocations: 28.39 kB / 1.242 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/2.491, allocations: 7.75 kB / 1.242 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/2.493, allocations: 2.592 MB / 1.244 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/2.493, allocations: 7.656 kB / 1.244 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/2.493, allocations: 0.6848 MB / 1.245 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/2.494, allocations: 173.6 kB / 1.245 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/2.494, allocations: 0 / 1.245 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/2.494, allocations: 21.5 kB / 1.245 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/2.494, allocations: 29.28 kB / 1.245 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/2.494, allocations: 39.77 kB / 1.245 GB, free: 108 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003514/2.495, allocations: 340.5 kB / 1.246 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.495, allocations: 0 / 1.246 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001209/2.496, allocations: 301.5 kB / 1.246 GB, free: 107.7 MB / 0.5261 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.001539/2.497, allocations: 1.077 MB / 1.247 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008102/2.498, allocations: 496.1 kB / 1.247 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/2.498, allocations: 0 / 1.247 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006917/2.499, allocations: 363.5 kB / 1.248 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/2.5, allocations: 247.3 kB / 1.248 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/2.501, allocations: 0.8584 MB / 1.249 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/2.502, allocations: 0.937 MB / 1.25 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009992/2.503, allocations: 419.8 kB / 1.25 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/2.503, allocations: 101.3 kB / 1.25 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/2.503, allocations: 0 / 1.25 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.02347/2.527, allocations: 17.68 MB / 1.267 GB, free: 88.76 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)