Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001104/0.001104, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.232/1.232, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2513/0.2513, allocations: 48.85 MB / 320.8 MB, free: 11.01 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.001388/0.001388, allocations: 67.89 kB / 451.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09572, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3647/0.4605, allocations: 170.6 MB / 0.665 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005019/0.4655, allocations: 3.899 MB / 0.6688 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.466, allocations: 11.94 kB / 0.6688 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008298/0.4668, allocations: 282.2 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.001156/0.468, allocations: 0.5717 MB / 0.6697 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.4717, allocations: 1.646 MB / 0.6713 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.4732, allocations: 1.319 MB / 0.6726 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.4738, allocations: 401.5 kB / 0.6729 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/0.4747, allocations: 0.5257 MB / 0.6735 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.4754, allocations: 0.51 MB / 0.674 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.4756, allocations: 60 kB / 0.674 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.4782, allocations: 1.442 MB / 0.6754 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004491/0.4787, allocations: 470.8 kB / 0.6759 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.4794, allocations: 0.5321 MB / 0.6764 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.482, allocations: 1.92 MB / 0.6783 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.482, allocations: 0 / 0.6783 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.482, allocations: 3.938 kB / 0.6783 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.723e-05/0.482, allocations: 4 kB / 0.6783 GB, free: 2 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002869/0.4849, allocations: 1.534 MB / 0.6798 GB, free: 424 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.485, allocations: 11.89 kB / 0.6798 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.4858, allocations: 182.3 kB / 0.68 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.4872, allocations: 0.8508 MB / 0.6808 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.4873, allocations: 41.31 kB / 0.6808 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.4874, allocations: 51.98 kB / 0.6809 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.4884, allocations: 0.6158 MB / 0.6815 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4884, allocations: 0 / 0.6815 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.4885, allocations: 23.94 kB / 0.6815 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4885, allocations: 12 kB / 0.6815 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.4892, allocations: 477 kB / 0.682 GB, free: 14.09 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.004144/0.4933, allocations: 2.574 MB / 0.6845 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.4936, allocations: 137 kB / 0.6846 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.4937, allocations: 52.83 kB / 0.6847 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.4939, allocations: 125.1 kB / 0.6848 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.494, allocations: 46.48 kB / 0.6848 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.494, allocations: 0 / 0.6848 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005343/0.4945, allocations: 276.2 kB / 0.6851 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.4946, allocations: 51.41 kB / 0.6851 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.4968, allocations: 1.906 MB / 0.687 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.4968, allocations: 29.64 kB / 0.687 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.4972, allocations: 0.5827 MB / 0.6876 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.4973, allocations: 51.34 kB / 0.6876 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.4974, allocations: 77.61 kB / 0.6877 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.4975, allocations: 325.9 kB / 0.688 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.4977, allocations: 126.2 kB / 0.6882 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.498, allocations: 243.4 kB / 0.6884 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.4984, allocations: 333.7 kB / 0.6887 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4984, allocations: 4 kB / 0.6887 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007631/0.4992, allocations: 0.4922 MB / 0.6892 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4992, allocations: 12.06 kB / 0.6892 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4992, allocations: 4 kB / 0.6892 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4992, allocations: 8 kB / 0.6892 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.4997, allocations: 104.8 kB / 0.6893 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006322/0.5004, allocations: 1.199 MB / 0.6905 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.5009, allocations: 71.2 kB / 0.6905 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.5009, allocations: 23.98 kB / 0.6906 GB, free: 4.832 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004227/0.5013, allocations: 378.1 kB / 0.6909 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.5015, allocations: 122.5 kB / 0.691 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.5019, allocations: 275.3 kB / 0.6913 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.502, allocations: 0 / 0.6913 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.502, allocations: 8.094 kB / 0.6913 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.5024, allocations: 231.6 kB / 0.6915 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.5025, allocations: 3.938 kB / 0.6915 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.5029, allocations: 15.98 kB / 0.6916 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.503, allocations: 9.547 kB / 0.6916 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005169/0.5035, allocations: 266.5 kB / 0.6918 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005175/0.504, allocations: 484.2 kB / 0.6923 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.924e-05/0.5041, allocations: 56.17 kB / 0.6923 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001583/0.5057, allocations: 1.354 MB / 0.6937 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of Backend: time 2.4e-07/0.5057, allocations: 0 / 0.6937 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.5086, allocations: 1.06 MB / 0.6947 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003622/0.5122, allocations: 2.669 MB / 0.6973 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Templates: time 0.03093/0.5432, allocations: 20.96 MB / 0.7178 GB, free: 8.812 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)