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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001814/0.001814, allocations: 180.6 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 1.974/1.974, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.0009799/0.0009799, allocations: 88.09 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5394/0.5394, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003679, allocations: 8 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.944/2.103, allocations: 0.7183 GB / 1.206 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/2.103, allocations: 77.84 kB / 1.206 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6647/2.768, allocations: 196.3 MB / 1.397 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/2.768, allocations: 0 / 1.397 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001151/2.768, allocations: 24 kB / 1.397 GB, free: 88.66 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.002613/2.771, allocations: 1.35 MB / 1.399 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/2.771, allocations: 8.031 kB / 1.399 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/2.771, allocations: 98.52 kB / 1.399 GB, free: 87.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/2.772, allocations: 170.4 kB / 1.399 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/2.774, allocations: 0.8872 MB / 1.4 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/2.774, allocations: 37.31 kB / 1.4 GB, free: 86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/2.774, allocations: 52 kB / 1.4 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/2.775, allocations: 0.6275 MB / 1.401 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/2.775, allocations: 0 / 1.401 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/2.775, allocations: 28 kB / 1.401 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/2.775, allocations: 12 kB / 1.401 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/2.775, allocations: 477 kB / 1.401 GB, free: 84.8 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.003992/2.779, allocations: 2.592 MB / 1.404 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/2.78, allocations: 214.7 kB / 1.404 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/2.78, allocations: 109 kB / 1.404 GB, free: 81.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/2.78, allocations: 42.56 kB / 1.404 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/2.78, allocations: 0 / 1.404 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.0006986/2.781, allocations: 356 kB / 1.404 GB, free: 81.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/2.781, allocations: 51.41 kB / 1.404 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/2.783, allocations: 1.716 MB / 1.406 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/2.783, allocations: 29.7 kB / 1.406 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/2.783, allocations: 0.5793 MB / 1.407 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/2.784, allocations: 75 kB / 1.407 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/2.784, allocations: 11.94 kB / 1.407 GB, free: 78.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/2.784, allocations: 322 kB / 1.407 GB, free: 78.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/2.784, allocations: 137.6 kB / 1.407 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/2.784, allocations: 226 kB / 1.407 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/2.784, allocations: 147.4 kB / 1.407 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/2.784, allocations: 0 / 1.407 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009627/2.785, allocations: 0.5136 MB / 1.408 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/2.785, allocations: 8 kB / 1.408 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/2.785, allocations: 4 kB / 1.408 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/2.785, allocations: 4 kB / 1.408 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/2.786, allocations: 119.8 kB / 1.408 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007032/2.787, allocations: 1.793 MB / 1.41 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/2.787, allocations: 75.2 kB / 1.41 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/2.787, allocations: 23.98 kB / 1.41 GB, free: 75.33 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.0005954/2.788, allocations: 373.8 kB / 1.41 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/2.788, allocations: 130.4 kB / 1.41 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/2.789, allocations: 351.2 kB / 1.411 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/2.789, allocations: 7.953 kB / 1.411 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.789, allocations: 0 / 1.411 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/2.789, allocations: 0 / 1.411 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/2.79, allocations: 0.742 MB / 1.412 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/2.79, allocations: 8 kB / 1.412 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/2.79, allocations: 75.88 kB / 1.412 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/2.79, allocations: 0 / 1.412 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/2.791, allocations: 4 kB / 1.412 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006299/2.791, allocations: 1.789 MB / 1.413 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/2.791, allocations: 0 / 1.413 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/2.792, allocations: 499.5 kB / 1.414 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/2.792, allocations: 287.5 kB / 1.414 GB, free: 70.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/2.793, allocations: 4.25 kB / 1.414 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/2.793, allocations: 27.97 kB / 1.414 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/2.793, allocations: 11.94 kB / 1.414 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/2.793, allocations: 23.97 kB / 1.414 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001793/2.795, allocations: 1.334 MB / 1.415 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/2.795, allocations: 0 / 1.415 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001223/2.797, allocations: 311.6 kB / 1.416 GB, free: 69.21 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.002825/2.799, allocations: 1.914 MB / 1.418 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006323/2.8, allocations: 284 kB / 1.418 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/2.8, allocations: 0 / 1.418 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/2.8, allocations: 101.1 kB / 1.418 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/2.802, allocations: 366.7 kB / 1.418 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/2.814, allocations: 10.04 MB / 1.428 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/2.815, allocations: 1.135 MB / 1.429 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000869/2.816, allocations: 240.5 kB / 1.429 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/2.816, allocations: 415.3 kB / 1.43 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/2.816, allocations: 0 / 1.43 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05634/2.873, allocations: 38.75 MB / 1.468 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/2.873, allocations: 254.9 kB / 1.468 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/6.21, allocations: 0 / 1.468 GB, free: 15.25 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)