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.002593/0.002593, allocations: 175.9 kB / 8.344 MB, free: 0.7109 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.105/2.105, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 90.91 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6568/0.6568, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.262e-05, allocations: 0 / 425.3 MB, free: 8.246 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1775, allocations: 60.26 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.51/2.688, allocations: 0.7176 GB / 1.192 GB, free: 89.41 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/2.688, allocations: 80.14 kB / 1.192 GB, free: 89.37 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8625/3.551, allocations: 193.7 MB / 1.381 GB, free: 109.6 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.694e-06/3.551, allocations: 0 / 1.381 GB, free: 109.6 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 9.225e-05/3.551, allocations: 24 kB / 1.381 GB, free: 109.6 MB / 0.5108 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.001917/3.553, allocations: 1.111 MB / 1.382 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/3.553, allocations: 8.031 kB / 1.382 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/3.554, allocations: 186.2 kB / 1.382 GB, free: 108.2 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/3.555, allocations: 0.8836 MB / 1.383 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/3.555, allocations: 20 kB / 1.383 GB, free: 107.3 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/3.555, allocations: 31.98 kB / 1.383 GB, free: 107.2 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006841/3.556, allocations: 442.5 kB / 1.384 GB, free: 106.8 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/3.557, allocations: 0.5275 MB / 1.384 GB, free: 106.3 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/3.557, allocations: 0 / 1.384 GB, free: 106.3 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/3.557, allocations: 0 / 1.384 GB, free: 106.3 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/3.557, allocations: 12 kB / 1.384 GB, free: 106.3 MB / 0.5108 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.003731/3.561, allocations: 2.433 MB / 1.387 GB, free: 103.7 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/3.561, allocations: 184 kB / 1.387 GB, free: 103.5 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/3.561, allocations: 72.89 kB / 1.387 GB, free: 103.4 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/3.561, allocations: 113.1 kB / 1.387 GB, free: 103.3 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/3.561, allocations: 38.56 kB / 1.387 GB, free: 103.3 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/3.561, allocations: 0 / 1.387 GB, free: 103.3 MB / 0.5108 GB Notification: Performance of matching and sorting (n=20): time 0.0005103/3.562, allocations: 260.6 kB / 1.387 GB, free: 103 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/3.562, allocations: 55.41 kB / 1.387 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/3.563, allocations: 1.437 MB / 1.389 GB, free: 101.5 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/3.564, allocations: 29.7 kB / 1.389 GB, free: 101.5 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/3.564, allocations: 0.5698 MB / 1.389 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/3.564, allocations: 74.89 kB / 1.389 GB, free: 100.8 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/3.564, allocations: 0 / 1.389 GB, free: 100.8 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/3.564, allocations: 326 kB / 1.39 GB, free: 100.5 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/3.564, allocations: 121.6 kB / 1.39 GB, free: 100.4 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/3.565, allocations: 214.2 kB / 1.39 GB, free: 100.1 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/3.565, allocations: 144.4 kB / 1.39 GB, free: 99.96 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/3.565, allocations: 0 / 1.39 GB, free: 99.96 MB / 0.5108 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006065/3.565, allocations: 456.9 kB / 1.391 GB, free: 99.51 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/3.565, allocations: 4 kB / 1.391 GB, free: 99.51 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/3.565, allocations: 4 kB / 1.391 GB, free: 99.5 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/3.565, allocations: 8 kB / 1.391 GB, free: 99.5 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/3.566, allocations: 119.8 kB / 1.391 GB, free: 99.38 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006783/3.567, allocations: 1.794 MB / 1.392 GB, free: 97.52 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/3.567, allocations: 47.8 kB / 1.392 GB, free: 97.47 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/3.567, allocations: 23.98 kB / 1.392 GB, free: 97.45 MB / 0.5108 GB Warning: Assuming fixed start value for the following 1 variables: Compressor.phi:VARIABLE(unit = "rad" ) "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 () * 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.0001441/3.567, allocations: 116.1 kB / 1.393 GB, free: 97.33 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/3.567, allocations: 110.6 kB / 1.393 GB, free: 97.22 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/3.568, allocations: 315.3 kB / 1.393 GB, free: 96.9 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/3.568, allocations: 7.953 kB / 1.393 GB, free: 96.89 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/3.568, allocations: 4 kB / 1.393 GB, free: 96.89 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/3.568, allocations: 0 / 1.393 GB, free: 96.89 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/3.569, allocations: 0.6772 MB / 1.394 GB, free: 96.18 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/3.569, allocations: 4.047 kB / 1.394 GB, free: 96.18 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/3.569, allocations: 71.88 kB / 1.394 GB, free: 96.11 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/3.569, allocations: 0 / 1.394 GB, free: 96.11 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/3.569, allocations: 0 / 1.394 GB, free: 96.11 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000662/3.57, allocations: 1.797 MB / 1.395 GB, free: 94.24 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/3.57, allocations: 3.953 kB / 1.396 GB, free: 94.23 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/3.57, allocations: 459.8 kB / 1.396 GB, free: 93.77 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/3.57, allocations: 267.7 kB / 1.396 GB, free: 93.49 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/3.571, allocations: 0 / 1.396 GB, free: 93.49 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/3.571, allocations: 15.98 kB / 1.396 GB, free: 93.47 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/3.571, allocations: 11.98 kB / 1.396 GB, free: 93.46 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/3.571, allocations: 23.97 kB / 1.396 GB, free: 93.44 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.001034/3.572, allocations: 1.099 MB / 1.397 GB, free: 92.33 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.092e-06/3.572, allocations: 8.062 kB / 1.397 GB, free: 92.32 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.0009186/3.573, allocations: 311.2 kB / 1.398 GB, free: 92.02 MB / 0.5108 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 () * 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.00179/3.575, allocations: 1.044 MB / 1.399 GB, free: 91.12 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0005079/3.575, allocations: 248.6 kB / 1.399 GB, free: 90.88 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/3.575, allocations: 3.938 kB / 1.399 GB, free: 90.88 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/3.576, allocations: 99.91 kB / 1.399 GB, free: 90.78 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008728/3.576, allocations: 192.6 kB / 1.399 GB, free: 90.59 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/3.578, allocations: 1.557 MB / 1.401 GB, free: 89 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/3.579, allocations: 1.132 MB / 1.402 GB, free: 87.84 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.000501/3.579, allocations: 210.8 kB / 1.402 GB, free: 87.62 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/3.58, allocations: 75.36 kB / 1.402 GB, free: 87.55 MB / 0.5108 GB Notification: Performance of SimCode: time 2.6e-07/3.58, allocations: 0 / 1.402 GB, free: 87.55 MB / 0.5108 GB Notification: Performance of Templates: time 0.02194/3.602, allocations: 14.89 MB / 1.417 GB, free: 72.68 MB / 0.5108 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)