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.001048/0.001048, allocations: 86.89 kB / 16.31 MB, free: 6.449 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.001081/0.001081, allocations: 180.9 kB / 17.21 MB, free: 6.32 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.362/1.362, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3875/0.3875, allocations: 48.77 MB / 320.4 MB, free: 3.836 MB / 254.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.0005367/0.0005367, allocations: 20 kB / 391.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09825, allocations: 60.25 MB / 451.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.337/0.4353, allocations: 155.2 MB / 0.5925 GB, free: 1.879 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.4402, allocations: 3.68 MB / 0.5961 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.4406, allocations: 7.938 kB / 0.5961 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.4412, allocations: 186.8 kB / 0.5963 GB, free: 14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.4422, allocations: 0.5406 MB / 0.5968 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.4455, allocations: 1.212 MB / 0.598 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.4472, allocations: 1.473 MB / 0.5994 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.4477, allocations: 338.3 kB / 0.5997 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000636/0.4483, allocations: 474.3 kB / 0.6002 GB, free: 10 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.449, allocations: 0.4944 MB / 0.6007 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.449, allocations: 24 kB / 0.6007 GB, free: 9.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.4504, allocations: 0.542 MB / 0.6012 GB, free: 8.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003946/0.4508, allocations: 450.8 kB / 0.6016 GB, free: 8.496 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.451, allocations: 221.1 kB / 0.6019 GB, free: 8.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.4522, allocations: 1.162 MB / 0.603 GB, free: 7.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4522, allocations: 0 / 0.603 GB, free: 7.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4522, allocations: 0 / 0.603 GB, free: 7.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4522, allocations: 0 / 0.603 GB, free: 7.109 MB / 478.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.00177/0.454, allocations: 1.292 MB / 0.6043 GB, free: 5.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.454, allocations: 12.03 kB / 0.6043 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.4541, allocations: 95.02 kB / 0.6044 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.4548, allocations: 178.3 kB / 0.6045 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.4559, allocations: 0.8093 MB / 0.6053 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.456, allocations: 38.06 kB / 0.6053 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.4561, allocations: 57.7 kB / 0.6054 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.4571, allocations: 0.6237 MB / 0.606 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4571, allocations: 0 / 0.606 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.4571, allocations: 27.94 kB / 0.606 GB, free: 3.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4572, allocations: 12 kB / 0.6061 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.4579, allocations: 496.9 kB / 0.6065 GB, free: 3.367 MB / 478.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.003816/0.4617, allocations: 2.588 MB / 0.6091 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.462, allocations: 194.6 kB / 0.6092 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.4622, allocations: 85.95 kB / 0.6093 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.4624, allocations: 109.1 kB / 0.6094 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4624, allocations: 38.91 kB / 0.6095 GB, free: 168 kB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.4625, allocations: 0 / 0.6095 GB, free: 168 kB / 478.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006435/0.4631, allocations: 356 kB / 0.6098 GB, free: 15.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.4632, allocations: 55.41 kB / 0.6099 GB, free: 15.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.4653, allocations: 1.906 MB / 0.6117 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.4654, allocations: 37.64 kB / 0.6118 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.4659, allocations: 0.5715 MB / 0.6123 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.4659, allocations: 74.91 kB / 0.6124 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.4659, allocations: 8 kB / 0.6124 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4661, allocations: 325.9 kB / 0.6127 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.4663, allocations: 133.6 kB / 0.6128 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.4666, allocations: 226 kB / 0.613 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.4668, allocations: 150.4 kB / 0.6132 GB, free: 12.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4668, allocations: 0 / 0.6132 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007849/0.4676, allocations: 0.4995 MB / 0.6137 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4676, allocations: 9.562 kB / 0.6137 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4677, allocations: 4 kB / 0.6137 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4677, allocations: 7.953 kB / 0.6137 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.4683, allocations: 125 kB / 0.6138 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009464/0.4692, allocations: 1.794 MB / 0.6156 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.4697, allocations: 79.2 kB / 0.6156 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.4698, allocations: 27.98 kB / 0.6157 GB, free: 9.637 MB / 494.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 (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.0005277/0.4703, allocations: 379.5 kB / 0.616 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.4705, allocations: 122.5 kB / 0.6161 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.471, allocations: 358.6 kB / 0.6165 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.471, allocations: 4 kB / 0.6165 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4711, allocations: 0 / 0.6165 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4711, allocations: 3.953 kB / 0.6165 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.472, allocations: 0.707 MB / 0.6172 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.472, allocations: 0 / 0.6172 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.4724, allocations: 69.02 kB / 0.6173 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4724, allocations: 1.25 kB / 0.6173 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4724, allocations: 4 kB / 0.6173 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008816/0.4733, allocations: 1.789 MB / 0.619 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4733, allocations: 288 / 0.619 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.4739, allocations: 0.4884 MB / 0.6195 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.4743, allocations: 259.5 kB / 0.6197 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4744, allocations: 4 kB / 0.6197 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.4749, allocations: 19.98 kB / 0.6198 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.4749, allocations: 15.98 kB / 0.6198 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.475, allocations: 25.66 kB / 0.6198 GB, free: 5.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001707/0.4767, allocations: 1.362 MB / 0.6211 GB, free: 3.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4767, allocations: 0 / 0.6211 GB, free: 3.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007485/0.4774, allocations: 235.8 kB / 0.6213 GB, free: 3.648 MB / 494.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 (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.001984/0.4794, allocations: 1.395 MB / 0.6227 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007571/0.4802, allocations: 280.1 kB / 0.623 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.4802, allocations: 4 kB / 0.623 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.4805, allocations: 117.9 kB / 0.6231 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.4822, allocations: 381.7 kB / 0.6235 GB, free: 1.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.212/0.6942, allocations: 7.925 MB / 0.6312 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.6947, allocations: 1.11 MB / 0.6323 GB, free: 152.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000729/0.6955, allocations: 236.4 kB / 0.6325 GB, free: 152.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.696, allocations: 400.6 kB / 0.6329 GB, free: 152.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/0.696, allocations: 0 / 0.6329 GB, free: 152.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/0.749, allocations: 27.9 MB / 0.6601 GB, free: 144.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.7491, allocations: 256.1 kB / 0.6604 GB, free: 144.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.335, allocations: 0 / 0.6604 GB, free: 144.1 MB / 494.1 MB (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) Environment - environmentSimulation: