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.001153/0.001153, allocations: 101.1 kB / 16.94 MB, free: 5.781 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: 187.3 kB / 17.87 MB, free: 5.148 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.198/1.198, allocations: 205.1 MB / 223.7 MB, free: 12.33 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.252/0.252, allocations: 48.85 MB / 319.9 MB, free: 11.1 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.001281/0.001281, allocations: 71.48 kB / 390.2 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08102/0.08232, allocations: 59.15 MB / 449.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3335/0.4159, allocations: 170.6 MB / 0.6055 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.4205, allocations: 3.897 MB / 0.6093 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.4209, allocations: 11.03 kB / 0.6093 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.4217, allocations: 285.3 kB / 0.6096 GB, free: 1.562 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.4225, allocations: 0.5614 MB / 0.6101 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.4257, allocations: 1.65 MB / 0.6118 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.4269, allocations: 1.321 MB / 0.613 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/0.4274, allocations: 399.3 kB / 0.6134 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.4279, allocations: 0.5281 MB / 0.6139 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.4284, allocations: 0.5121 MB / 0.6144 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.387e-05/0.4285, allocations: 58 kB / 0.6145 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4297, allocations: 0.6891 MB / 0.6152 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.43, allocations: 473.9 kB / 0.6156 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004064/0.4304, allocations: 0.5548 MB / 0.6162 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.4318, allocations: 1.569 MB / 0.6177 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4318, allocations: 0 / 0.6177 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4318, allocations: 4 kB / 0.6177 GB, free: 12.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4318, allocations: 0 / 0.6177 GB, free: 12.42 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.001823/0.4336, allocations: 1.503 MB / 0.6192 GB, free: 11.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4337, allocations: 13.95 kB / 0.6192 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.695e-05/0.4338, allocations: 106.2 kB / 0.6193 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.4344, allocations: 179.7 kB / 0.6194 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009728/0.4354, allocations: 0.8572 MB / 0.6203 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.4354, allocations: 37.44 kB / 0.6203 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.4355, allocations: 51.19 kB / 0.6204 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.4363, allocations: 0.6352 MB / 0.621 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4364, allocations: 4 kB / 0.621 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.4364, allocations: 27.56 kB / 0.621 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4365, allocations: 12.84 kB / 0.621 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.4371, allocations: 494.1 kB / 0.6215 GB, free: 9.809 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.003487/0.4406, allocations: 2.555 MB / 0.624 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.4409, allocations: 206.5 kB / 0.6242 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.441, allocations: 84.77 kB / 0.6243 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.4412, allocations: 113.1 kB / 0.6244 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4413, allocations: 42.47 kB / 0.6244 GB, free: 6.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.4413, allocations: 4 kB / 0.6244 GB, free: 6.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.000574/0.4419, allocations: 353.6 kB / 0.6248 GB, free: 6.402 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.4419, allocations: 59.34 kB / 0.6248 GB, free: 6.332 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.4438, allocations: 1.906 MB / 0.6267 GB, free: 4.406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4439, allocations: 33.7 kB / 0.6267 GB, free: 4.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.4443, allocations: 0.5637 MB / 0.6273 GB, free: 3.801 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.4444, allocations: 74.98 kB / 0.6273 GB, free: 3.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.4445, allocations: 81.97 kB / 0.6274 GB, free: 3.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4446, allocations: 329.9 kB / 0.6277 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.4448, allocations: 135.5 kB / 0.6279 GB, free: 3.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.4451, allocations: 234 kB / 0.6281 GB, free: 2.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.4455, allocations: 333.4 kB / 0.6284 GB, free: 2.527 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4455, allocations: 4 kB / 0.6284 GB, free: 2.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007049/0.4462, allocations: 0.4924 MB / 0.6289 GB, free: 2.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4462, allocations: 8 kB / 0.6289 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4462, allocations: 7.984 kB / 0.6289 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4462, allocations: 4.438 kB / 0.6289 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.4468, allocations: 126.1 kB / 0.629 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008401/0.4476, allocations: 1.785 MB / 0.6308 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.448, allocations: 75.17 kB / 0.6308 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.4481, allocations: 27.86 kB / 0.6309 GB, free: 15.93 MB / 462.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.0004106/0.4485, allocations: 381.4 kB / 0.6312 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4487, allocations: 122.5 kB / 0.6313 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.4492, allocations: 335.6 kB / 0.6317 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4492, allocations: 11.94 kB / 0.6317 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4492, allocations: 0 / 0.6317 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4492, allocations: 0 / 0.6317 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.4499, allocations: 0.7185 MB / 0.6324 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4499, allocations: 0 / 0.6324 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.4502, allocations: 69.7 kB / 0.6324 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4503, allocations: 0 / 0.6324 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.4503, allocations: 8 kB / 0.6325 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008307/0.4511, allocations: 1.781 MB / 0.6342 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4511, allocations: 3.938 kB / 0.6342 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.4517, allocations: 0.4896 MB / 0.6347 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.452, allocations: 247.6 kB / 0.6349 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4521, allocations: 4.047 kB / 0.6349 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.4525, allocations: 29.41 kB / 0.6349 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.4526, allocations: 15.92 kB / 0.635 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.4526, allocations: 23.97 kB / 0.635 GB, free: 11.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.454, allocations: 1.358 MB / 0.6363 GB, free: 10.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.454, allocations: 0 / 0.6363 GB, free: 10.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006389/0.4547, allocations: 243.8 kB / 0.6365 GB, free: 9.938 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.00197/0.4567, allocations: 1.413 MB / 0.6379 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.4573, allocations: 288.6 kB / 0.6382 GB, free: 8.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4573, allocations: 4.188 kB / 0.6382 GB, free: 8.223 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.4576, allocations: 115.8 kB / 0.6383 GB, free: 8.109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.459, allocations: 380.3 kB / 0.6387 GB, free: 7.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.4733, allocations: 11.94 MB / 0.6503 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.474, allocations: 1.11 MB / 0.6514 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005711/0.4746, allocations: 236.6 kB / 0.6516 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.4751, allocations: 399.3 kB / 0.652 GB, free: 9.613 MB / 478.1 MB Notification: Performance of SimCode: time 1.031e-06/0.4751, allocations: 4 kB / 0.652 GB, free: 9.609 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04961/0.5247, allocations: 29.48 MB / 0.6808 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.941, allocations: 3.984 kB / 0.6808 GB, free: 12.01 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)