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.001065/0.001065, allocations: 107.6 kB / 16.92 MB, free: 5.746 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.001079/0.001079, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.326/1.326, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2975/0.2975, allocations: 48.84 MB / 319.9 MB, free: 11.11 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.001855/0.001855, allocations: 66.73 kB / 390.2 MB, free: 48.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1175, allocations: 59.16 MB / 449.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4446/0.5621, allocations: 170.6 MB / 0.6054 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005247/0.5674, allocations: 3.907 MB / 0.6093 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.5679, allocations: 9.625 kB / 0.6093 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009216/0.5689, allocations: 271.5 kB / 0.6095 GB, free: 1.68 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.001145/0.5701, allocations: 0.5644 MB / 0.6101 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.574, allocations: 1.652 MB / 0.6117 GB, free: 84 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.5755, allocations: 1.327 MB / 0.613 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005571/0.5761, allocations: 394.7 kB / 0.6134 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007134/0.5768, allocations: 0.5248 MB / 0.6139 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.5774, allocations: 0.5203 MB / 0.6144 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.5776, allocations: 57.5 kB / 0.6144 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.5792, allocations: 0.7149 MB / 0.6151 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.5796, allocations: 473.6 kB / 0.6156 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.5801, allocations: 0.5529 MB / 0.6161 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.5817, allocations: 1.56 MB / 0.6176 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5817, allocations: 4 kB / 0.6177 GB, free: 12.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5817, allocations: 0 / 0.6177 GB, free: 12.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.5817, allocations: 0 / 0.6177 GB, free: 12.53 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.00218/0.5839, allocations: 1.495 MB / 0.6191 GB, free: 11.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.584, allocations: 11.3 kB / 0.6191 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.5841, allocations: 110.2 kB / 0.6192 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/0.5848, allocations: 181.1 kB / 0.6194 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.5859, allocations: 0.8583 MB / 0.6202 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.586, allocations: 41.73 kB / 0.6203 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.5861, allocations: 48.16 kB / 0.6203 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009581/0.587, allocations: 0.6285 MB / 0.6209 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5871, allocations: 6.719 kB / 0.6209 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.5871, allocations: 25 kB / 0.621 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5872, allocations: 16.22 kB / 0.621 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.5879, allocations: 0.4893 MB / 0.6215 GB, free: 9.918 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.004251/0.5922, allocations: 2.582 MB / 0.624 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.5925, allocations: 198.6 kB / 0.6242 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5926, allocations: 80.81 kB / 0.6242 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.5929, allocations: 121.1 kB / 0.6244 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.593, allocations: 46.41 kB / 0.6244 GB, free: 6.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.593, allocations: 0 / 0.6244 GB, free: 6.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006837/0.5937, allocations: 355.2 kB / 0.6247 GB, free: 6.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.5937, allocations: 55.41 kB / 0.6248 GB, free: 6.445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.596, allocations: 1.903 MB / 0.6267 GB, free: 4.523 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.5961, allocations: 33.7 kB / 0.6267 GB, free: 4.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.5966, allocations: 0.5715 MB / 0.6272 GB, free: 3.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.5966, allocations: 74.94 kB / 0.6273 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.5968, allocations: 81.97 kB / 0.6274 GB, free: 3.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5969, allocations: 329.9 kB / 0.6277 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.5971, allocations: 130 kB / 0.6278 GB, free: 3.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.5974, allocations: 238 kB / 0.6281 GB, free: 3.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.5979, allocations: 329.5 kB / 0.6284 GB, free: 2.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5979, allocations: 0 / 0.6284 GB, free: 2.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008123/0.5987, allocations: 0.5081 MB / 0.6289 GB, free: 2.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5988, allocations: 8 kB / 0.6289 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5988, allocations: 0 / 0.6289 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5988, allocations: 8 kB / 0.6289 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.5994, allocations: 113.4 kB / 0.629 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.6005, allocations: 1.793 MB / 0.6307 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.601, allocations: 75.11 kB / 0.6308 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.601, allocations: 27.92 kB / 0.6308 GB, free: 36 kB / 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.0005376/0.6016, allocations: 381.7 kB / 0.6312 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.6018, allocations: 126.5 kB / 0.6313 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.6024, allocations: 335.9 kB / 0.6317 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6024, allocations: 4 kB / 0.6317 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6024, allocations: 3.938 kB / 0.6317 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6024, allocations: 0 / 0.6317 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.6033, allocations: 0.7146 MB / 0.6324 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6033, allocations: 4 kB / 0.6324 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.6037, allocations: 76.77 kB / 0.6324 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6037, allocations: 0 / 0.6324 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.6037, allocations: 4 kB / 0.6324 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.6049, allocations: 1.781 MB / 0.6342 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6049, allocations: 3.938 kB / 0.6342 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.6056, allocations: 497.1 kB / 0.6347 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.606, allocations: 245.5 kB / 0.6349 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6061, allocations: 4 kB / 0.6349 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.6065, allocations: 28.17 kB / 0.6349 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.6066, allocations: 11.97 kB / 0.6349 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.6066, allocations: 23.92 kB / 0.635 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001685/0.6083, allocations: 1.358 MB / 0.6363 GB, free: 10.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.6083, allocations: 4 kB / 0.6363 GB, free: 10.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008345/0.6092, allocations: 239.7 kB / 0.6365 GB, free: 10.05 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.00234/0.6115, allocations: 1.424 MB / 0.6379 GB, free: 8.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.6123, allocations: 291.9 kB / 0.6382 GB, free: 8.328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6123, allocations: 4 kB / 0.6382 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.6126, allocations: 107.9 kB / 0.6383 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.6145, allocations: 381.2 kB / 0.6387 GB, free: 7.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.6305, allocations: 11.9 MB / 0.6503 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.6313, allocations: 1.106 MB / 0.6513 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007656/0.632, allocations: 244.5 kB / 0.6516 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.6325, allocations: 403.3 kB / 0.652 GB, free: 9.762 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6325, allocations: 0 / 0.652 GB, free: 9.762 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/0.6947, allocations: 29.25 MB / 0.6805 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.26, allocations: 8.562 kB / 0.6805 GB, free: 12.39 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)