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.001176/0.001176, allocations: 173.4 kB / 8.343 MB, free: 0.7422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.3 MB / 214.1 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009993/0.0009992, allocations: 78.72 kB / 262.1 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4489/0.4489, allocations: 48.78 MB / 358.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.403e-05, allocations: 4 kB / 425.3 MB, free: 22.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1815, allocations: 60.27 MB / 485.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.487/2.668, allocations: 0.7177 GB / 1.192 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/2.669, allocations: 79.84 kB / 1.192 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8427/3.511, allocations: 203.5 MB / 1.391 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/3.511, allocations: 0 / 1.391 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001089/3.512, allocations: 22.66 kB / 1.391 GB, free: 124.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.002797/3.514, allocations: 1.188 MB / 1.392 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/3.514, allocations: 8.031 kB / 1.392 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/3.515, allocations: 182.3 kB / 1.392 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/3.517, allocations: 0.8781 MB / 1.393 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/3.517, allocations: 16 kB / 1.393 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/3.517, allocations: 28 kB / 1.393 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007871/3.518, allocations: 422.5 kB / 1.393 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/3.519, allocations: 0.5234 MB / 1.394 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/3.519, allocations: 0 / 1.394 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/3.519, allocations: 0 / 1.394 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/3.519, allocations: 12 kB / 1.394 GB, free: 121.5 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.003889/3.523, allocations: 2.46 MB / 1.396 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/3.523, allocations: 126.6 kB / 1.396 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/3.523, allocations: 48.84 kB / 1.396 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/3.523, allocations: 117.1 kB / 1.397 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/3.523, allocations: 42.5 kB / 1.397 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/3.523, allocations: 0 / 1.397 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004784/3.524, allocations: 212.7 kB / 1.397 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/3.524, allocations: 59.28 kB / 1.397 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/3.526, allocations: 1.461 MB / 1.398 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/3.526, allocations: 29.7 kB / 1.398 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/3.526, allocations: 0.5968 MB / 1.399 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/3.526, allocations: 47.3 kB / 1.399 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/3.526, allocations: 3.938 kB / 1.399 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/3.526, allocations: 322 kB / 1.399 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/3.526, allocations: 117.2 kB / 1.399 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/3.526, allocations: 223.7 kB / 1.4 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/3.527, allocations: 131.9 kB / 1.4 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/3.527, allocations: 4 kB / 1.4 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005679/3.527, allocations: 432.4 kB / 1.4 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/3.527, allocations: 15.42 kB / 1.4 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/3.527, allocations: 4 kB / 1.4 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/3.527, allocations: 15.95 kB / 1.4 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/3.528, allocations: 103.8 kB / 1.4 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005112/3.528, allocations: 1.199 MB / 1.401 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/3.529, allocations: 47.5 kB / 1.401 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/3.529, allocations: 27.95 kB / 1.401 GB, free: 113.4 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.0001554/3.529, allocations: 108.9 kB / 1.402 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/3.529, allocations: 106.6 kB / 1.402 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/3.53, allocations: 262.2 kB / 1.402 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/3.53, allocations: 0 / 1.402 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/3.53, allocations: 0 / 1.402 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/3.53, allocations: 0 / 1.402 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/3.53, allocations: 0.6595 MB / 1.403 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/3.53, allocations: 0 / 1.403 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/3.531, allocations: 43.97 kB / 1.403 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/3.531, allocations: 7.984 kB / 1.403 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/3.531, allocations: 0 / 1.403 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00043/3.531, allocations: 1.195 MB / 1.404 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/3.531, allocations: 0 / 1.404 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/3.531, allocations: 375.7 kB / 1.404 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/3.532, allocations: 259.8 kB / 1.404 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/3.532, allocations: 7.953 kB / 1.404 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/3.532, allocations: 23.91 kB / 1.404 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/3.532, allocations: 11.92 kB / 1.404 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/3.532, allocations: 15.98 kB / 1.404 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001141/3.533, allocations: 1.107 MB / 1.406 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/3.534, allocations: 0 / 1.406 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001143/3.535, allocations: 315.4 kB / 1.406 GB, free: 108.8 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.002048/3.537, allocations: 1.089 MB / 1.407 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004941/3.537, allocations: 220.4 kB / 1.407 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/3.537, allocations: 0 / 1.407 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/3.537, allocations: 63.92 kB / 1.407 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/3.538, allocations: 181 kB / 1.407 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/3.541, allocations: 1.48 MB / 1.409 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/3.541, allocations: 1.133 MB / 1.41 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005452/3.542, allocations: 206.6 kB / 1.41 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/3.542, allocations: 67.42 kB / 1.41 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/3.542, allocations: 0 / 1.41 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.0244/3.566, allocations: 14.48 MB / 1.424 GB, free: 89.91 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)