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.001856/0.001856, allocations: 174.6 kB / 13.63 MB, free: 1.684 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.194/2.194, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.00106/0.00106, allocations: 82.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4317/0.4317, allocations: 48.78 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.692e-05/5.695e-05, allocations: 7.938 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1871, allocations: 60.24 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.571/2.758, allocations: 0.7184 GB / 1.2 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/2.758, allocations: 79.84 kB / 1.2 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8138/3.572, allocations: 196.1 MB / 1.391 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.337e-06/3.572, allocations: 0 / 1.391 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.95e-05/3.572, allocations: 24 kB / 1.391 GB, free: 121.6 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.001575/3.574, allocations: 1.118 MB / 1.392 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/3.574, allocations: 8.031 kB / 1.392 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.885e-05/3.574, allocations: 90.52 kB / 1.392 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/3.575, allocations: 182.3 kB / 1.393 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/3.576, allocations: 0.8911 MB / 1.393 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/3.576, allocations: 37.31 kB / 1.394 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/3.576, allocations: 48 kB / 1.394 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/3.577, allocations: 0.6082 MB / 1.394 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/3.577, allocations: 0 / 1.394 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/3.577, allocations: 24 kB / 1.394 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/3.577, allocations: 12 kB / 1.394 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/3.578, allocations: 469 kB / 1.395 GB, free: 118.1 MB / 0.5105 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.003565/3.582, allocations: 2.592 MB / 1.397 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/3.582, allocations: 203.8 kB / 1.397 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/3.582, allocations: 77.14 kB / 1.397 GB, free: 115 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/3.582, allocations: 109.1 kB / 1.398 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/3.582, allocations: 42.5 kB / 1.398 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/3.582, allocations: 0 / 1.398 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.0005788/3.583, allocations: 292 kB / 1.398 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/3.583, allocations: 63.41 kB / 1.398 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/3.585, allocations: 1.695 MB / 1.4 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/3.585, allocations: 33.7 kB / 1.4 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/3.585, allocations: 0.5752 MB / 1.4 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/3.585, allocations: 75 kB / 1.4 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/3.585, allocations: 4 kB / 1.4 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/3.585, allocations: 322 kB / 1.401 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/3.586, allocations: 129.6 kB / 1.401 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/3.586, allocations: 230 kB / 1.401 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/3.586, allocations: 147.9 kB / 1.401 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/3.586, allocations: 0 / 1.401 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006599/3.587, allocations: 0.4924 MB / 1.402 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/3.587, allocations: 8.438 kB / 1.402 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/3.587, allocations: 11.95 kB / 1.402 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/3.587, allocations: 8 kB / 1.402 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/3.587, allocations: 119.8 kB / 1.402 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006504/3.588, allocations: 1.789 MB / 1.403 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/3.589, allocations: 71.2 kB / 1.403 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/3.589, allocations: 23.98 kB / 1.403 GB, free: 108.6 MB / 0.5105 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.0001749/3.589, allocations: 132.8 kB / 1.404 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/3.589, allocations: 130.5 kB / 1.404 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/3.59, allocations: 341.1 kB / 1.404 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/3.59, allocations: 0 / 1.404 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/3.59, allocations: 0 / 1.404 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/3.59, allocations: 7.953 kB / 1.404 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/3.59, allocations: 0.7497 MB / 1.405 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/3.59, allocations: 0 / 1.405 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/3.591, allocations: 71.88 kB / 1.405 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/3.591, allocations: 8 kB / 1.405 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/3.591, allocations: 7.984 kB / 1.405 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006439/3.591, allocations: 1.785 MB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/3.591, allocations: 3.984 kB / 1.407 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/3.592, allocations: 497.3 kB / 1.407 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/3.592, allocations: 283.5 kB / 1.407 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/3.592, allocations: 8 kB / 1.407 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/3.593, allocations: 32.05 kB / 1.407 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/3.593, allocations: 7.984 kB / 1.407 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/3.593, allocations: 23.97 kB / 1.407 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001455/3.594, allocations: 1.317 MB / 1.409 GB, free: 103 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/3.594, allocations: 0 / 1.409 GB, free: 103 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001165/3.596, allocations: 315.6 kB / 1.409 GB, free: 102.7 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 () * 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.002676/3.598, allocations: 1.871 MB / 1.411 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007799/3.599, allocations: 268.3 kB / 1.411 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/3.599, allocations: 4.188 kB / 1.411 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/3.599, allocations: 107.9 kB / 1.411 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/3.601, allocations: 372.5 kB / 1.412 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/3.604, allocations: 1.887 MB / 1.413 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/3.605, allocations: 1.13 MB / 1.415 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007634/3.606, allocations: 236.6 kB / 1.415 GB, free: 96.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/3.606, allocations: 427.2 kB / 1.415 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of SimCode: time 2.354e-06/3.606, allocations: 4 kB / 1.415 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06994/3.676, allocations: 40.21 MB / 1.454 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/3.677, allocations: 218.7 kB / 1.455 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/6.929, allocations: 0 / 1.455 GB, free: 55.84 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)