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.001916/0.001915, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.217/2.217, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001322/0.001321, allocations: 88.16 kB / 270.8 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.665/0.665, allocations: 48.78 MB / 367.9 MB, free: 47.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 8 kB / 438.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1928, allocations: 60.26 MB / 498.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.312/2.504, allocations: 0.7185 GB / 1.206 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/2.505, allocations: 89.14 kB / 1.206 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8262/3.331, allocations: 206.1 MB / 1.407 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.725e-06/3.331, allocations: 0 / 1.407 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001829/3.331, allocations: 28 kB / 1.407 GB, free: 91.29 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.004444/3.336, allocations: 1.401 MB / 1.408 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/3.336, allocations: 8.031 kB / 1.408 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/3.337, allocations: 194.3 kB / 1.409 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/3.34, allocations: 0.8794 MB / 1.409 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/3.34, allocations: 41.25 kB / 1.409 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/3.34, allocations: 52 kB / 1.41 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/3.341, allocations: 0.5963 MB / 1.41 GB, free: 88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/3.341, allocations: 3.906 kB / 1.41 GB, free: 88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/3.341, allocations: 24 kB / 1.41 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/3.341, allocations: 12 kB / 1.41 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/3.341, allocations: 468.9 kB / 1.411 GB, free: 87.51 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.004326/3.346, allocations: 2.613 MB / 1.413 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/3.346, allocations: 134.5 kB / 1.413 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/3.346, allocations: 125.1 kB / 1.413 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/3.346, allocations: 34.56 kB / 1.413 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/3.346, allocations: 0 / 1.413 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0006072/3.347, allocations: 289.3 kB / 1.414 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/3.347, allocations: 51.41 kB / 1.414 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/3.349, allocations: 1.74 MB / 1.415 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/3.349, allocations: 37.7 kB / 1.415 GB, free: 82.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/3.349, allocations: 0.5868 MB / 1.416 GB, free: 81.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/3.349, allocations: 47.38 kB / 1.416 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/3.349, allocations: 12 kB / 1.416 GB, free: 81.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/3.349, allocations: 322 kB / 1.416 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/3.35, allocations: 121.2 kB / 1.417 GB, free: 81.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/3.35, allocations: 239.8 kB / 1.417 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/3.35, allocations: 155.8 kB / 1.417 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/3.35, allocations: 0 / 1.417 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006859/3.351, allocations: 500 kB / 1.417 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/3.351, allocations: 8 kB / 1.417 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/3.351, allocations: 7.938 kB / 1.417 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/3.351, allocations: 8 kB / 1.417 GB, free: 80.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/3.351, allocations: 111.9 kB / 1.418 GB, free: 80.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/3.352, allocations: 1.196 MB / 1.419 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/3.352, allocations: 83.05 kB / 1.419 GB, free: 78.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/3.352, allocations: 20 kB / 1.419 GB, free: 78.73 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.0004964/3.353, allocations: 387.2 kB / 1.419 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/3.353, allocations: 122.5 kB / 1.419 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/3.353, allocations: 283.3 kB / 1.42 GB, free: 77.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/3.354, allocations: 3.984 kB / 1.42 GB, free: 77.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/3.354, allocations: 7.953 kB / 1.42 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/3.354, allocations: 0 / 1.42 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/3.354, allocations: 0.7189 MB / 1.42 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/3.354, allocations: 0 / 1.42 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/3.355, allocations: 55.89 kB / 1.42 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/3.355, allocations: 0 / 1.42 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/3.355, allocations: 0 / 1.42 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003848/3.355, allocations: 1.188 MB / 1.421 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/3.355, allocations: 0 / 1.421 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/3.355, allocations: 412.5 kB / 1.422 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/3.356, allocations: 287.5 kB / 1.422 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/3.356, allocations: 8 kB / 1.422 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/3.356, allocations: 19.92 kB / 1.422 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/3.357, allocations: 11.98 kB / 1.422 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/3.357, allocations: 11.98 kB / 1.422 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001454/3.358, allocations: 1.351 MB / 1.424 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/3.358, allocations: 4.062 kB / 1.424 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001173/3.359, allocations: 307.8 kB / 1.424 GB, free: 73.44 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.001968/3.361, allocations: 1.033 MB / 1.425 GB, free: 72.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005559/3.362, allocations: 237.1 kB / 1.425 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.362, allocations: 3.938 kB / 1.425 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/3.362, allocations: 71.91 kB / 1.425 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/3.363, allocations: 347.8 kB / 1.425 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/3.366, allocations: 2.227 MB / 1.428 GB, free: 69.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/3.367, allocations: 1.123 MB / 1.429 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007555/3.368, allocations: 244.3 kB / 1.429 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/3.368, allocations: 79.42 kB / 1.429 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/3.368, allocations: 0 / 1.429 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.03959/3.408, allocations: 25.02 MB / 1.453 GB, free: 43.01 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)