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.001127/0.001127, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 94.47 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1792/0.1792, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.738e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 63.24 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.431, allocations: 0.5227 GB / 1.034 GB, free: 137.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.431, allocations: 98.73 kB / 1.034 GB, free: 137.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7064/2.138, allocations: 207.2 MB / 1.236 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.265e-06/2.138, allocations: 3.609 kB / 1.236 GB, free: 129.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.355e-05/2.138, allocations: 18.94 kB / 1.237 GB, free: 129.4 MB / 0.5417 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.002745/2.14, allocations: 1.04 MB / 1.238 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/2.14, allocations: 7.812 kB / 1.238 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/2.141, allocations: 138.2 kB / 1.238 GB, free: 128.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/2.143, allocations: 0.5366 MB / 1.238 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/2.143, allocations: 105.4 kB / 1.238 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/2.143, allocations: 49.41 kB / 1.238 GB, free: 128.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/2.144, allocations: 0.8032 MB / 1.239 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/2.144, allocations: 11.81 kB / 1.239 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/2.144, allocations: 21.03 kB / 1.239 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/2.144, allocations: 42.53 kB / 1.239 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009091/2.145, allocations: 0.6115 MB / 1.24 GB, free: 128.3 MB / 0.5417 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.004221/2.149, allocations: 3.957 MB / 1.244 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/2.15, allocations: 332.5 kB / 1.244 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/2.15, allocations: 160 kB / 1.244 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/2.15, allocations: 88.34 kB / 1.244 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/2.15, allocations: 38.78 kB / 1.244 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 4.248e-06/2.15, allocations: 3.781 kB / 1.244 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005057/2.156, allocations: 1.516 MB / 1.246 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/2.156, allocations: 137.4 kB / 1.246 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/2.156, allocations: 0.533 MB / 1.246 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/2.156, allocations: 29.7 kB / 1.246 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/2.156, allocations: 366.4 kB / 1.247 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.8e-05/2.157, allocations: 150.5 kB / 1.247 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/2.157, allocations: 15.94 kB / 1.247 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/2.157, allocations: 377.7 kB / 1.247 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/2.157, allocations: 193.1 kB / 1.247 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/2.157, allocations: 0.5021 MB / 1.248 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/2.158, allocations: 292.1 kB / 1.248 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/2.158, allocations: 0 / 1.248 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001167/2.159, allocations: 0.8535 MB / 1.249 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/2.159, allocations: 7.844 kB / 1.249 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/2.159, allocations: 11.5 kB / 1.249 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/2.16, allocations: 310.6 kB / 1.249 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/2.16, allocations: 125.3 kB / 1.249 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00082/2.161, allocations: 0.9202 MB / 1.25 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/2.162, allocations: 52.91 kB / 1.25 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/2.162, allocations: 64.69 kB / 1.251 GB, free: 121.7 MB / 0.5417 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.000149/2.162, allocations: 156.3 kB / 1.251 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/2.162, allocations: 74.31 kB / 1.251 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/2.164, allocations: 0.8509 MB / 1.252 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/2.164, allocations: 3.938 kB / 1.252 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.164, allocations: 0 / 1.252 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/2.164, allocations: 3.188 kB / 1.252 GB, free: 121.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/2.165, allocations: 1.438 MB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/2.165, allocations: 2.75 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/2.166, allocations: 215.5 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-05/2.166, allocations: 23.94 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/2.166, allocations: 15.34 kB / 1.253 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/2.168, allocations: 2.686 MB / 1.256 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/2.168, allocations: 2.906 kB / 1.256 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/2.169, allocations: 0.864 MB / 1.257 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/2.169, allocations: 184.5 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/2.169, allocations: 7.875 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/2.17, allocations: 34.91 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/2.17, allocations: 46.59 kB / 1.257 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/2.17, allocations: 43.09 kB / 1.257 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004209/2.17, allocations: 423.9 kB / 1.257 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.17, allocations: 0 / 1.257 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001207/2.171, allocations: 336.3 kB / 1.258 GB, free: 116.6 MB / 0.5417 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 () * 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.00161/2.173, allocations: 0.9399 MB / 1.259 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009222/2.174, allocations: 0.5395 MB / 1.259 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/2.174, allocations: 3.938 kB / 1.259 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00077/2.175, allocations: 406 kB / 1.26 GB, free: 116 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/2.176, allocations: 336.5 kB / 1.26 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/2.178, allocations: 0.9462 MB / 1.261 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/2.178, allocations: 0.9394 MB / 1.262 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00114/2.179, allocations: 466.4 kB / 1.262 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/2.18, allocations: 110.9 kB / 1.262 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of SimCode: time 9.82e-07/2.18, allocations: 4 kB / 1.262 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.03631/2.216, allocations: 28.38 MB / 1.29 GB, free: 100.5 MB / 0.5417 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)