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.001184/0.001184, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001181/0.001181, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4311/0.4311, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.011e-05, allocations: 7.984 kB / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2016, allocations: 60.25 MB / 492.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.517/2.718, allocations: 0.7184 GB / 1.2 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/2.719, allocations: 81.22 kB / 1.2 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8381/3.557, allocations: 205.9 MB / 1.401 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/3.557, allocations: 0 / 1.401 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.724e-05/3.557, allocations: 27.98 kB / 1.401 GB, free: 111.9 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.002081/3.559, allocations: 1.173 MB / 1.402 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/3.559, allocations: 8.031 kB / 1.402 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007395/3.56, allocations: 186.3 kB / 1.402 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/3.561, allocations: 0.8949 MB / 1.403 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/3.561, allocations: 37.31 kB / 1.403 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/3.561, allocations: 48 kB / 1.403 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/3.562, allocations: 0.5809 MB / 1.404 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/3.562, allocations: 0 / 1.404 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/3.562, allocations: 31.97 kB / 1.404 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/3.562, allocations: 12 kB / 1.404 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/3.563, allocations: 449.1 kB / 1.404 GB, free: 108.3 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.004153/3.567, allocations: 2.621 MB / 1.407 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/3.567, allocations: 134.6 kB / 1.407 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/3.568, allocations: 52.86 kB / 1.407 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/3.568, allocations: 117.1 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/3.568, allocations: 38.56 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/3.568, allocations: 0 / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0005401/3.568, allocations: 248.3 kB / 1.407 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/3.568, allocations: 51.41 kB / 1.407 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/3.571, allocations: 1.715 MB / 1.409 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/3.571, allocations: 33.69 kB / 1.409 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/3.571, allocations: 0.5943 MB / 1.41 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/3.571, allocations: 47.34 kB / 1.41 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/3.571, allocations: 11.94 kB / 1.41 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001065/3.571, allocations: 325.9 kB / 1.41 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/3.571, allocations: 113.2 kB / 1.41 GB, free: 102 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/3.572, allocations: 248 kB / 1.41 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/3.572, allocations: 143.8 kB / 1.41 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/3.572, allocations: 0 / 1.41 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006846/3.573, allocations: 491.6 kB / 1.411 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/3.573, allocations: 15.42 kB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/3.573, allocations: 8 kB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/3.573, allocations: 8 kB / 1.411 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/3.573, allocations: 112.4 kB / 1.411 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006914/3.574, allocations: 1.188 MB / 1.412 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/3.575, allocations: 83.11 kB / 1.412 GB, free: 99.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/3.575, allocations: 23.98 kB / 1.412 GB, free: 99.58 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "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 () * 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.0002106/3.575, allocations: 130.3 kB / 1.412 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/3.575, allocations: 130.4 kB / 1.413 GB, free: 99.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/3.576, allocations: 277.2 kB / 1.413 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/3.576, allocations: 0 / 1.413 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/3.576, allocations: 0 / 1.413 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/3.576, allocations: 4 kB / 1.413 GB, free: 99.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008422/3.576, allocations: 0.7189 MB / 1.413 GB, free: 98.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/3.576, allocations: 4 kB / 1.413 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/3.577, allocations: 47.97 kB / 1.414 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/3.577, allocations: 3.938 kB / 1.414 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/3.577, allocations: 7.953 kB / 1.414 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004875/3.577, allocations: 1.18 MB / 1.415 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/3.577, allocations: 0 / 1.415 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/3.578, allocations: 417.2 kB / 1.415 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004736/3.578, allocations: 287.5 kB / 1.415 GB, free: 96.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/3.578, allocations: 8 kB / 1.415 GB, free: 96.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/3.579, allocations: 15.98 kB / 1.415 GB, free: 96.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/3.579, allocations: 16.11 kB / 1.415 GB, free: 96.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/3.579, allocations: 15.98 kB / 1.415 GB, free: 96.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001492/3.58, allocations: 1.329 MB / 1.417 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/3.58, allocations: 0 / 1.417 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001157/3.581, allocations: 319.6 kB / 1.417 GB, free: 94.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 () * 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.002091/3.584, allocations: 0.9932 MB / 1.418 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005686/3.584, allocations: 231.6 kB / 1.418 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/3.584, allocations: 0 / 1.418 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/3.584, allocations: 69.05 kB / 1.418 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/3.586, allocations: 348.7 kB / 1.419 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/3.588, allocations: 1.521 MB / 1.42 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/3.589, allocations: 1.134 MB / 1.421 GB, free: 90.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006468/3.589, allocations: 236.4 kB / 1.421 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/3.59, allocations: 83.36 kB / 1.422 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/3.59, allocations: 0 / 1.422 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.03793/3.628, allocations: 27.16 MB / 1.448 GB, free: 62.68 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)