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.0011/0.0011, allocations: 101.9 kB / 16.62 MB, free: 6.809 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.001093/0.001093, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.183/1.183, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2375/0.2375, allocations: 48.85 MB / 319.6 MB, free: 11.28 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.001322/0.001322, allocations: 63.66 kB / 389.6 MB, free: 48.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08173, allocations: 59.17 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.321/0.4028, allocations: 168.5 MB / 0.6029 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004512/0.4073, allocations: 3.92 MB / 0.6067 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.4076, allocations: 9.719 kB / 0.6067 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006767/0.4084, allocations: 243.8 kB / 0.6069 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007594/0.4091, allocations: 0.533 MB / 0.6075 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.4122, allocations: 1.547 MB / 0.609 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.4133, allocations: 1.325 MB / 0.6103 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.4138, allocations: 394.5 kB / 0.6106 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.4144, allocations: 0.5312 MB / 0.6112 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.4149, allocations: 0.5458 MB / 0.6117 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.415, allocations: 57.91 kB / 0.6118 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.4163, allocations: 0.778 MB / 0.6125 GB, free: 432 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.4166, allocations: 477.5 kB / 0.613 GB, free: 144 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.417, allocations: 0.5482 MB / 0.6135 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.4185, allocations: 1.613 MB / 0.6151 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4185, allocations: 2.688 kB / 0.6151 GB, free: 14.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4185, allocations: 0 / 0.6151 GB, free: 14.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4185, allocations: 0 / 0.6151 GB, free: 14.74 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.001874/0.4204, allocations: 1.497 MB / 0.6165 GB, free: 13.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4204, allocations: 14.05 kB / 0.6166 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.4205, allocations: 96.3 kB / 0.6167 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.4212, allocations: 184.9 kB / 0.6168 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.4221, allocations: 0.8534 MB / 0.6177 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.4222, allocations: 41.75 kB / 0.6177 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.4222, allocations: 48.66 kB / 0.6177 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.4232, allocations: 0.6346 MB / 0.6184 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4232, allocations: 7.922 kB / 0.6184 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.4233, allocations: 27.28 kB / 0.6184 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4233, allocations: 12.34 kB / 0.6184 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.424, allocations: 495.2 kB / 0.6189 GB, free: 12.14 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.003502/0.4275, allocations: 2.583 MB / 0.6214 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.4278, allocations: 206.5 kB / 0.6216 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4279, allocations: 84.77 kB / 0.6217 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.4282, allocations: 109.1 kB / 0.6218 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.4282, allocations: 38.47 kB / 0.6218 GB, free: 9.398 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.4282, allocations: 4 kB / 0.6218 GB, free: 9.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005684/0.4288, allocations: 356.3 kB / 0.6222 GB, free: 9.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.4288, allocations: 63.39 kB / 0.6222 GB, free: 8.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.4307, allocations: 1.899 MB / 0.6241 GB, free: 7.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4307, allocations: 33.7 kB / 0.6241 GB, free: 7.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.4311, allocations: 0.5754 MB / 0.6247 GB, free: 6.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.4312, allocations: 67.02 kB / 0.6247 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.4313, allocations: 81.97 kB / 0.6248 GB, free: 6.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.4314, allocations: 321.9 kB / 0.6251 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.4316, allocations: 142 kB / 0.6253 GB, free: 5.816 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.4319, allocations: 230 kB / 0.6255 GB, free: 5.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.4322, allocations: 330 kB / 0.6258 GB, free: 5.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4322, allocations: 1.688 kB / 0.6258 GB, free: 5.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006846/0.4329, allocations: 0.508 MB / 0.6263 GB, free: 4.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.433, allocations: 4 kB / 0.6263 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.433, allocations: 4 kB / 0.6263 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.433, allocations: 8 kB / 0.6263 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.4335, allocations: 115.8 kB / 0.6264 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007853/0.4343, allocations: 1.793 MB / 0.6282 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.4347, allocations: 88.25 kB / 0.6283 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.4348, allocations: 23.94 kB / 0.6283 GB, free: 2.555 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.0003993/0.4352, allocations: 378.4 kB / 0.6286 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.4354, allocations: 122.5 kB / 0.6288 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.4359, allocations: 357.4 kB / 0.6291 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4359, allocations: 4 kB / 0.6291 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4359, allocations: 0 / 0.6291 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4359, allocations: 3.984 kB / 0.6291 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.4366, allocations: 0.7068 MB / 0.6298 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4366, allocations: 0 / 0.6298 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.437, allocations: 73.67 kB / 0.6299 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.437, allocations: 0 / 0.6299 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.437, allocations: 7.984 kB / 0.6299 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008062/0.4378, allocations: 1.785 MB / 0.6316 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4378, allocations: 11.81 kB / 0.6316 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.4384, allocations: 492.5 kB / 0.6321 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.4387, allocations: 247.6 kB / 0.6323 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.4388, allocations: 0 / 0.6323 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.4392, allocations: 31.84 kB / 0.6324 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.4393, allocations: 15.98 kB / 0.6324 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.4393, allocations: 19.97 kB / 0.6324 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001382/0.4407, allocations: 1.362 MB / 0.6337 GB, free: 12.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4407, allocations: 0 / 0.6337 GB, free: 12.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006393/0.4413, allocations: 239.7 kB / 0.634 GB, free: 12.56 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.002049/0.4434, allocations: 1.422 MB / 0.6353 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006285/0.444, allocations: 308.3 kB / 0.6356 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.444, allocations: 0 / 0.6356 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.4443, allocations: 111.9 kB / 0.6357 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.4458, allocations: 381.3 kB / 0.6361 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.4589, allocations: 12.08 MB / 0.6479 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.4595, allocations: 1.11 MB / 0.649 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005655/0.4601, allocations: 228.6 kB / 0.6492 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.4605, allocations: 407.3 kB / 0.6496 GB, free: 12.08 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4605, allocations: 0 / 0.6496 GB, free: 12.08 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.5047, allocations: 29.11 MB / 0.678 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.5051, allocations: 278.2 kB / 0.6783 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/2.864, allocations: 0 / 0.6783 GB, free: 14.5 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)