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.002001/0.002001, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.276/2.276, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001101/0.001101, allocations: 93.5 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6323/0.6323, allocations: 48.78 MB / 367.9 MB, free: 47.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1717, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.163/2.335, allocations: 0.7183 GB / 1.206 GB, free: 91.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/2.335, allocations: 89.03 kB / 1.206 GB, free: 91.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6895/3.025, allocations: 196.3 MB / 1.397 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.286e-06/3.025, allocations: 0 / 1.397 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.27e-05/3.025, allocations: 28.12 kB / 1.397 GB, free: 101.2 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.002042/3.027, allocations: 1.343 MB / 1.399 GB, free: 99.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/3.027, allocations: 12.03 kB / 1.399 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006206/3.028, allocations: 178.3 kB / 1.399 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/3.029, allocations: 0.8872 MB / 1.4 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/3.029, allocations: 41.31 kB / 1.4 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/3.029, allocations: 51.91 kB / 1.4 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008651/3.03, allocations: 0.6158 MB / 1.4 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/3.03, allocations: 4 kB / 1.4 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/3.03, allocations: 20 kB / 1.4 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/3.03, allocations: 12 kB / 1.4 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/3.031, allocations: 488.9 kB / 1.401 GB, free: 97.47 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.003965/3.035, allocations: 2.593 MB / 1.403 GB, free: 94.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/3.035, allocations: 194.6 kB / 1.404 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/3.035, allocations: 109.1 kB / 1.404 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/3.035, allocations: 50.5 kB / 1.404 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 3.236e-06/3.035, allocations: 0 / 1.404 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.0006748/3.036, allocations: 352.4 kB / 1.404 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/3.036, allocations: 59.36 kB / 1.404 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/3.038, allocations: 1.716 MB / 1.406 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/3.038, allocations: 29.7 kB / 1.406 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/3.039, allocations: 0.5753 MB / 1.406 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/3.039, allocations: 74.98 kB / 1.406 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/3.039, allocations: 12 kB / 1.406 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/3.039, allocations: 318 kB / 1.407 GB, free: 91.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/3.039, allocations: 138 kB / 1.407 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/3.039, allocations: 230 kB / 1.407 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/3.039, allocations: 152.4 kB / 1.407 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/3.039, allocations: 7.938 kB / 1.407 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007945/3.04, allocations: 0.4972 MB / 1.408 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/3.04, allocations: 12.02 kB / 1.408 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/3.04, allocations: 4 kB / 1.408 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/3.04, allocations: 8 kB / 1.408 GB, free: 90.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/3.041, allocations: 119.8 kB / 1.408 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000667/3.042, allocations: 1.789 MB / 1.41 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/3.042, allocations: 75.19 kB / 1.41 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/3.042, allocations: 20 kB / 1.41 GB, free: 88.01 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.0004771/3.043, allocations: 385.7 kB / 1.41 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/3.043, allocations: 122.5 kB / 1.41 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/3.043, allocations: 359 kB / 1.411 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/3.043, allocations: 0 / 1.411 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/3.043, allocations: 0 / 1.411 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/3.043, allocations: 0 / 1.411 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/3.044, allocations: 0.7497 MB / 1.411 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/3.044, allocations: 0 / 1.411 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/3.044, allocations: 71.89 kB / 1.411 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/3.045, allocations: 3.984 kB / 1.411 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/3.045, allocations: 8 kB / 1.411 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005662/3.045, allocations: 1.785 MB / 1.413 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/3.045, allocations: 0 / 1.413 GB, free: 84.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/3.046, allocations: 495.6 kB / 1.414 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/3.046, allocations: 287.5 kB / 1.414 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/3.046, allocations: 4 kB / 1.414 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/3.047, allocations: 24.14 kB / 1.414 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/3.047, allocations: 19.97 kB / 1.414 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/3.047, allocations: 23.98 kB / 1.414 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001483/3.048, allocations: 1.327 MB / 1.415 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/3.048, allocations: 0 / 1.415 GB, free: 82.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001199/3.05, allocations: 315.7 kB / 1.416 GB, free: 81.88 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.001781/3.051, allocations: 0.998 MB / 1.417 GB, free: 80.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006836/3.052, allocations: 275.6 kB / 1.417 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/3.052, allocations: 0 / 1.417 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/3.052, allocations: 100.8 kB / 1.417 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/3.054, allocations: 362.9 kB / 1.417 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/3.057, allocations: 2.348 MB / 1.42 GB, free: 77.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/3.057, allocations: 1.139 MB / 1.421 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000651/3.058, allocations: 240.5 kB / 1.421 GB, free: 76.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/3.058, allocations: 83.42 kB / 1.421 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/3.058, allocations: 4 kB / 1.421 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.03459/3.092, allocations: 25.47 MB / 1.446 GB, free: 50.82 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)