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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 112.5 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 223.3 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2382/0.2382, allocations: 48.84 MB / 319.5 MB, free: 11.31 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 66.2 kB / 389.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07257/0.07385, allocations: 59.17 MB / 448.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2947/0.3685, allocations: 168.7 MB / 0.6029 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.3733, allocations: 4.046 MB / 0.6068 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.3739, allocations: 4.531 kB / 0.6068 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.3747, allocations: 239 kB / 0.607 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000818/0.3755, allocations: 0.5328 MB / 0.6076 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.3786, allocations: 1.504 MB / 0.609 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3798, allocations: 1.732 MB / 0.6107 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.3802, allocations: 349.6 kB / 0.6111 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.3807, allocations: 467.9 kB / 0.6115 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.3811, allocations: 0.5235 MB / 0.612 GB, free: 372 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.3812, allocations: 27.66 kB / 0.612 GB, free: 372 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.3825, allocations: 0.8308 MB / 0.6129 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.3828, allocations: 448.5 kB / 0.6133 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.3832, allocations: 0.5088 MB / 0.6138 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3844, allocations: 1.582 MB / 0.6153 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3844, allocations: 1.781 kB / 0.6153 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3844, allocations: 0 / 0.6153 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3845, allocations: 0 / 0.6153 GB, free: 14.34 MB / 446.1 MB 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.001765/0.3862, allocations: 1.503 MB / 0.6168 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.3863, allocations: 7.062 kB / 0.6168 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.3864, allocations: 98.95 kB / 0.6169 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.387, allocations: 185.1 kB / 0.6171 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.388, allocations: 0.8531 MB / 0.6179 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.388, allocations: 41.83 kB / 0.6179 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.3881, allocations: 56.72 kB / 0.618 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.3889, allocations: 0.628 MB / 0.6186 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3889, allocations: 2.719 kB / 0.6186 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.389, allocations: 28.97 kB / 0.6186 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.389, allocations: 12.47 kB / 0.6187 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/0.3896, allocations: 495.8 kB / 0.6191 GB, free: 11.73 MB / 446.1 MB 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.003403/0.3931, allocations: 2.585 MB / 0.6217 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.3934, allocations: 207.3 kB / 0.6218 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3935, allocations: 88.81 kB / 0.6219 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.3937, allocations: 105.1 kB / 0.622 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3938, allocations: 46.95 kB / 0.6221 GB, free: 8.934 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.3938, allocations: 0 / 0.6221 GB, free: 8.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.000572/0.3944, allocations: 350.3 kB / 0.6224 GB, free: 8.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3944, allocations: 63.34 kB / 0.6225 GB, free: 8.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.3963, allocations: 1.91 MB / 0.6243 GB, free: 6.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.3963, allocations: 33.7 kB / 0.6244 GB, free: 6.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.3967, allocations: 0.5676 MB / 0.6249 GB, free: 5.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.3968, allocations: 74.94 kB / 0.625 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3969, allocations: 81.97 kB / 0.6251 GB, free: 5.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.397, allocations: 321.9 kB / 0.6254 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.3972, allocations: 142 kB / 0.6255 GB, free: 5.352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.3974, allocations: 230 kB / 0.6257 GB, free: 5.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.3979, allocations: 343.3 kB / 0.6261 GB, free: 4.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3979, allocations: 0 / 0.6261 GB, free: 4.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007317/0.3986, allocations: 0.4997 MB / 0.6266 GB, free: 4.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3986, allocations: 8 kB / 0.6266 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3986, allocations: 4 kB / 0.6266 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3987, allocations: 4 kB / 0.6266 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.3992, allocations: 130.3 kB / 0.6267 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007768/0.4, allocations: 1.791 MB / 0.6284 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.4004, allocations: 79.39 kB / 0.6285 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.4004, allocations: 27.92 kB / 0.6285 GB, free: 2.082 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.4009, allocations: 373.6 kB / 0.6289 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.401, allocations: 122.5 kB / 0.629 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.4015, allocations: 346.5 kB / 0.6293 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4016, allocations: 4 kB / 0.6294 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4016, allocations: 5.562 kB / 0.6294 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4016, allocations: 0 / 0.6294 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007173/0.4023, allocations: 0.7146 MB / 0.6301 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4023, allocations: 0 / 0.6301 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.4027, allocations: 71.88 kB / 0.6301 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4027, allocations: 8 kB / 0.6301 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.4027, allocations: 7.984 kB / 0.6301 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/0.4035, allocations: 1.781 MB / 0.6319 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4035, allocations: 3.938 kB / 0.6319 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.4041, allocations: 0.4928 MB / 0.6324 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.4043, allocations: 247.5 kB / 0.6326 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.4044, allocations: 8 kB / 0.6326 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.4049, allocations: 23.91 kB / 0.6326 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.4049, allocations: 15.98 kB / 0.6326 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.405, allocations: 23.97 kB / 0.6327 GB, free: 13.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.4064, allocations: 1.354 MB / 0.634 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4064, allocations: 4 kB / 0.634 GB, free: 12.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006096/0.407, allocations: 239.7 kB / 0.6342 GB, free: 12.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/0.4088, allocations: 1.417 MB / 0.6356 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.4094, allocations: 288.4 kB / 0.6359 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4094, allocations: 4.125 kB / 0.6359 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.4097, allocations: 103.9 kB / 0.636 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.4112, allocations: 368.7 kB / 0.6363 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.4244, allocations: 12.09 MB / 0.6481 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.425, allocations: 1.11 MB / 0.6492 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006267/0.4256, allocations: 240.6 kB / 0.6495 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.426, allocations: 399.3 kB / 0.6498 GB, free: 11.63 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.426, allocations: 0 / 0.6498 GB, free: 11.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.4646, allocations: 28.49 MB / 0.6777 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.4648, allocations: 278 kB / 0.6779 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.684, allocations: 4 kB / 0.6779 GB, free: 14.68 MB / 0.4981 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/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)