Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 175.8 kB / 17.4 MB, free: 4.305 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.772/1.772, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.00084/0.00084, allocations: 83.86 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.4622/0.4622, allocations: 48.77 MB / 368.9 MB, free: 47.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004105, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 60.26 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.689/1.825, allocations: 0.7185 GB / 1.207 GB, free: 90.13 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.826, allocations: 80.95 kB / 1.207 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6242/2.45, allocations: 196.4 MB / 1.399 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/2.45, allocations: 0 / 1.399 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001092/2.45, allocations: 24 kB / 1.399 GB, free: 99.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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002453/2.453, allocations: 1.331 MB / 1.4 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/2.453, allocations: 8.031 kB / 1.4 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008146/2.454, allocations: 175.3 kB / 1.4 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/2.455, allocations: 0.9343 MB / 1.401 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/2.455, allocations: 41.69 kB / 1.401 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/2.455, allocations: 52.38 kB / 1.401 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/2.456, allocations: 0.6164 MB / 1.402 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/2.456, allocations: 8.031 kB / 1.402 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/2.456, allocations: 27.94 kB / 1.402 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/2.456, allocations: 12 kB / 1.402 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/2.457, allocations: 481 kB / 1.402 GB, free: 96.11 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.003878/2.461, allocations: 2.6 MB / 1.405 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/2.461, allocations: 202.5 kB / 1.405 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/2.461, allocations: 76.83 kB / 1.405 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/2.461, allocations: 109.1 kB / 1.405 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/2.461, allocations: 38.56 kB / 1.405 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/2.461, allocations: 0 / 1.405 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.0006512/2.462, allocations: 356.3 kB / 1.406 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/2.462, allocations: 55.41 kB / 1.406 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/2.464, allocations: 1.879 MB / 1.408 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/2.464, allocations: 33.7 kB / 1.408 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/2.465, allocations: 0.5753 MB / 1.408 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/2.465, allocations: 75 kB / 1.408 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/2.465, allocations: 4 kB / 1.408 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/2.465, allocations: 325.9 kB / 1.408 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/2.465, allocations: 137.6 kB / 1.409 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/2.465, allocations: 222 kB / 1.409 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/2.466, allocations: 342.5 kB / 1.409 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/2.466, allocations: 4 kB / 1.409 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007264/2.466, allocations: 0.4929 MB / 1.41 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/2.466, allocations: 10.97 kB / 1.41 GB, free: 88.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/2.466, allocations: 4 kB / 1.41 GB, free: 88.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/2.466, allocations: 4 kB / 1.41 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/2.467, allocations: 123.8 kB / 1.41 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006179/2.468, allocations: 1.797 MB / 1.412 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/2.468, allocations: 87.42 kB / 1.412 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/2.468, allocations: 27.92 kB / 1.412 GB, free: 86.15 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Compressor.phi:VARIABLE(unit = "rad" fixed = true ) "shaft rotation angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000478/2.469, allocations: 374.5 kB / 1.412 GB, free: 85.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/2.469, allocations: 130.5 kB / 1.412 GB, free: 85.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/2.469, allocations: 346.2 kB / 1.412 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/2.469, allocations: 7.938 kB / 1.412 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/2.469, allocations: 4 kB / 1.412 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/2.469, allocations: 0 / 1.412 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/2.47, allocations: 0.742 MB / 1.413 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/2.47, allocations: 4 kB / 1.413 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/2.471, allocations: 63.95 kB / 1.413 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/2.471, allocations: 0 / 1.413 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/2.471, allocations: 11.98 kB / 1.413 GB, free: 84.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005446/2.471, allocations: 1.777 MB / 1.415 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.471, allocations: 3.938 kB / 1.415 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/2.472, allocations: 0.4942 MB / 1.415 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/2.472, allocations: 287.5 kB / 1.416 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/2.472, allocations: 4 kB / 1.416 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/2.473, allocations: 27.92 kB / 1.416 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/2.473, allocations: 7.984 kB / 1.416 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/2.473, allocations: 23.97 kB / 1.416 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00146/2.474, allocations: 1.334 MB / 1.417 GB, free: 80.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/2.474, allocations: 4.062 kB / 1.417 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009231/2.475, allocations: 311.7 kB / 1.417 GB, free: 80.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.w,Compressor.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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/2.477, allocations: 0.9951 MB / 1.418 GB, free: 79.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005876/2.478, allocations: 286.5 kB / 1.419 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/2.478, allocations: 0 / 1.419 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/2.478, allocations: 107.9 kB / 1.419 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/2.48, allocations: 363.2 kB / 1.419 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/2.483, allocations: 2.352 MB / 1.421 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/2.483, allocations: 1.111 MB / 1.423 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007077/2.484, allocations: 244.5 kB / 1.423 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/2.484, allocations: 83.42 kB / 1.423 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/2.484, allocations: 0 / 1.423 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.03224/2.516, allocations: 25.82 MB / 1.448 GB, free: 48.63 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)