Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002095/0.002095, allocations: 176.8 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 89.48 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5096/0.5096, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003926, allocations: 15.98 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/1.8, allocations: 0.7186 GB / 1.207 GB, free: 89.99 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/1.8, allocations: 88.42 kB / 1.207 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6817/2.482, allocations: 206.2 MB / 1.408 GB, free: 89.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/2.482, allocations: 0 / 1.408 GB, free: 89.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001034/2.482, allocations: 24 kB / 1.408 GB, free: 89.91 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002576/2.485, allocations: 1.394 MB / 1.41 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/2.485, allocations: 8.031 kB / 1.41 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/2.486, allocations: 171.3 kB / 1.41 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/2.487, allocations: 0.9459 MB / 1.411 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/2.487, allocations: 37.69 kB / 1.411 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/2.487, allocations: 48.38 kB / 1.411 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008752/2.488, allocations: 0.6008 MB / 1.412 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/2.488, allocations: 192 / 1.412 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/2.488, allocations: 31.94 kB / 1.412 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/2.488, allocations: 15.94 kB / 1.412 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/2.489, allocations: 456.9 kB / 1.412 GB, free: 86.1 MB / 0.5105 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.003739/2.493, allocations: 2.629 MB / 1.415 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/2.493, allocations: 138.6 kB / 1.415 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/2.493, allocations: 52.84 kB / 1.415 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/2.493, allocations: 121.1 kB / 1.415 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/2.493, allocations: 38.56 kB / 1.415 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/2.493, allocations: 0 / 1.415 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004968/2.494, allocations: 282.1 kB / 1.415 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/2.494, allocations: 59.34 kB / 1.415 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/2.496, allocations: 1.907 MB / 1.417 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/2.496, allocations: 29.7 kB / 1.417 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/2.496, allocations: 0.5908 MB / 1.418 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/2.496, allocations: 51.3 kB / 1.418 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/2.496, allocations: 4 kB / 1.418 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/2.496, allocations: 322 kB / 1.418 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/2.496, allocations: 121.2 kB / 1.418 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/2.497, allocations: 247.4 kB / 1.418 GB, free: 79.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/2.497, allocations: 329.7 kB / 1.419 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.497, allocations: 4 kB / 1.419 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006586/2.498, allocations: 497 kB / 1.419 GB, free: 78.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/2.498, allocations: 9.562 kB / 1.419 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/2.498, allocations: 7.984 kB / 1.419 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/2.498, allocations: 11.94 kB / 1.419 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/2.498, allocations: 115.8 kB / 1.419 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004412/2.498, allocations: 1.196 MB / 1.421 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/2.499, allocations: 79.14 kB / 1.421 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/2.499, allocations: 23.98 kB / 1.421 GB, free: 76.84 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004152/2.499, allocations: 382.3 kB / 1.421 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/2.5, allocations: 126.5 kB / 1.421 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/2.5, allocations: 277 kB / 1.421 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/2.5, allocations: 4.078 kB / 1.421 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/2.5, allocations: 7.984 kB / 1.421 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/2.5, allocations: 3.938 kB / 1.421 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/2.501, allocations: 0.7112 MB / 1.422 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/2.501, allocations: 0 / 1.422 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/2.501, allocations: 55.89 kB / 1.422 GB, free: 75.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/2.501, allocations: 0 / 1.422 GB, free: 75.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/2.501, allocations: 8 kB / 1.422 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003315/2.501, allocations: 1.191 MB / 1.423 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/2.501, allocations: 0 / 1.423 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/2.502, allocations: 410.3 kB / 1.424 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/2.502, allocations: 291.5 kB / 1.424 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/2.502, allocations: 4 kB / 1.424 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/2.503, allocations: 19.98 kB / 1.424 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/2.503, allocations: 11.98 kB / 1.424 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/2.503, allocations: 15.98 kB / 1.424 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001446/2.504, allocations: 1.351 MB / 1.425 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/2.504, allocations: 0 / 1.425 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000934/2.505, allocations: 311.8 kB / 1.426 GB, free: 71.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001741/2.507, allocations: 1.025 MB / 1.427 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004847/2.508, allocations: 245 kB / 1.427 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.508, allocations: 3.938 kB / 1.427 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/2.508, allocations: 75.89 kB / 1.427 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/2.509, allocations: 352 kB / 1.427 GB, free: 69.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/2.512, allocations: 2.235 MB / 1.43 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/2.513, allocations: 1.1 MB / 1.431 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006378/2.513, allocations: 236.4 kB / 1.431 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/2.513, allocations: 79.42 kB / 1.431 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of SimCode: time 3.8e-07/2.513, allocations: 0 / 1.431 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.03305/2.546, allocations: 25.35 MB / 1.456 GB, free: 40.8 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)