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: translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 109.2 kB / 17.74 MB, free: 5.328 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.001468/0.001468, allocations: 188.3 kB / 18.68 MB, free: 4.398 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.473/1.473, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.279/0.279, allocations: 48.85 MB / 320.8 MB, free: 10.99 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.001649/0.001649, allocations: 79.88 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1125, allocations: 59.15 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4277/0.5403, allocations: 170.6 MB / 0.665 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005431/0.5457, allocations: 3.899 MB / 0.6688 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/0.5462, allocations: 7.938 kB / 0.6689 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.5471, allocations: 282.3 kB / 0.6691 GB, free: 11.41 MB / 0.5137 GB [/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.001102/0.5482, allocations: 0.5755 MB / 0.6697 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.5523, allocations: 1.65 MB / 0.6713 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.5539, allocations: 1.338 MB / 0.6726 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.5544, allocations: 405.6 kB / 0.673 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.555, allocations: 0.5256 MB / 0.6735 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006087/0.5557, allocations: 0.5255 MB / 0.674 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.5558, allocations: 60 kB / 0.6741 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.5572, allocations: 0.6821 MB / 0.6747 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004058/0.5577, allocations: 474.8 kB / 0.6752 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.5582, allocations: 0.5438 MB / 0.6757 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.5602, allocations: 1.564 MB / 0.6773 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5602, allocations: 0 / 0.6773 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5602, allocations: 0 / 0.6773 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.5602, allocations: 0 / 0.6773 GB, free: 3.066 MB / 0.5137 GB 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.002281/0.5625, allocations: 1.52 MB / 0.6787 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5626, allocations: 11.89 kB / 0.6787 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.5633, allocations: 187 kB / 0.6789 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.5645, allocations: 0.8674 MB / 0.6798 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.5645, allocations: 37.31 kB / 0.6798 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.5646, allocations: 52 kB / 0.6799 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009961/0.5657, allocations: 0.6237 MB / 0.6805 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5657, allocations: 0 / 0.6805 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.5657, allocations: 27.94 kB / 0.6805 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.5658, allocations: 13.25 kB / 0.6805 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.5665, allocations: 0.4892 MB / 0.681 GB, free: 15.12 MB / 0.5294 GB 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.004026/0.5706, allocations: 2.55 MB / 0.6835 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.5709, allocations: 194.6 kB / 0.6837 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.5711, allocations: 81.17 kB / 0.6837 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.5713, allocations: 117 kB / 0.6838 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.5714, allocations: 38.56 kB / 0.6839 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 3.707e-06/0.5714, allocations: 3.938 kB / 0.6839 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006718/0.5721, allocations: 356.7 kB / 0.6842 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.5721, allocations: 51.41 kB / 0.6843 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.5743, allocations: 1.89 MB / 0.6861 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.5744, allocations: 33.7 kB / 0.6862 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.5749, allocations: 0.572 MB / 0.6867 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.5749, allocations: 75.38 kB / 0.6868 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.5751, allocations: 82.02 kB / 0.6869 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5752, allocations: 318 kB / 0.6872 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.5754, allocations: 138.6 kB / 0.6873 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.5757, allocations: 234.5 kB / 0.6875 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.5762, allocations: 333.4 kB / 0.6878 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5762, allocations: 4 kB / 0.6878 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008081/0.577, allocations: 0.51 MB / 0.6883 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.577, allocations: 11.94 kB / 0.6884 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.577, allocations: 4 kB / 0.6884 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5771, allocations: 4 kB / 0.6884 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.5776, allocations: 119.9 kB / 0.6885 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009743/0.5786, allocations: 1.79 MB / 0.6902 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.5791, allocations: 75.39 kB / 0.6903 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.5791, allocations: 20 kB / 0.6903 GB, free: 5.137 MB / 0.5294 GB 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.0004754/0.5796, allocations: 386.4 kB / 0.6907 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5798, allocations: 128.1 kB / 0.6908 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.5804, allocations: 340.5 kB / 0.6911 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5804, allocations: 0 / 0.6911 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5804, allocations: 0 / 0.6911 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.5807, allocations: 244.3 kB / 0.6914 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5808, allocations: 13.8 kB / 0.6914 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.5813, allocations: 19.98 kB / 0.6914 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.5813, allocations: 15.98 kB / 0.6914 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006873/0.582, allocations: 347.4 kB / 0.6917 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006155/0.5826, allocations: 0.5585 MB / 0.6923 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001185/0.5828, allocations: 79.92 kB / 0.6924 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001518/0.5843, allocations: 1.342 MB / 0.6937 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of Backend: time 7.42e-07/0.5843, allocations: 0 / 0.6937 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00242/0.5867, allocations: 0.8582 MB / 0.6945 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003554/0.5903, allocations: 2.807 MB / 0.6973 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Templates: time 0.0322/0.6225, allocations: 19.02 MB / 0.7158 GB, free: 10.85 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)