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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8964/0.8964, allocations: 158.6 MB / 186.7 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1753/0.1753, allocations: 36.35 MB / 275.4 MB, free: 10.48 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 354.2 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.17e-05, allocations: 5.828 kB / 354.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2486/0.2486, allocations: 143.7 MB / 497.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.2519, allocations: 3.635 MB / 0.4898 GB, free: 4.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.2522, allocations: 13.22 kB / 0.4898 GB, free: 4.152 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.2527, allocations: 150.4 kB / 0.49 GB, free: 4.039 MB / 362.7 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.0007699/0.2535, allocations: 0.5881 MB / 0.4906 GB, free: 3.676 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.2558, allocations: 1.533 MB / 0.4921 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009718/0.2568, allocations: 1.314 MB / 0.4933 GB, free: 2.012 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.2574, allocations: 376.5 kB / 0.4937 GB, free: 1.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009273/0.2583, allocations: 0.9499 MB / 0.4946 GB, free: 1.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005117/0.2588, allocations: 364.5 kB / 0.495 GB, free: 1.074 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.2589, allocations: 54.88 kB / 0.495 GB, free: 1.074 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.2605, allocations: 1.071 MB / 0.4961 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.2608, allocations: 467.4 kB / 0.4965 GB, free: 128 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.2611, allocations: 331 kB / 0.4968 GB, free: 15.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.2628, allocations: 1.565 MB / 0.4984 GB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2628, allocations: 0 / 0.4984 GB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2628, allocations: 0 / 0.4984 GB, free: 14.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.2628, allocations: 0 / 0.4984 GB, free: 14.23 MB / 378.7 MB 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.001553/0.2644, allocations: 1.584 MB / 0.4999 GB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2644, allocations: 12.03 kB / 0.4999 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.2649, allocations: 275.5 kB / 0.5002 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.2656, allocations: 0.6273 MB / 0.5008 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2656, allocations: 37.69 kB / 0.5008 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.2656, allocations: 60.33 kB / 0.5009 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.2662, allocations: 0.8215 MB / 0.5017 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2662, allocations: 0 / 0.5017 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.2662, allocations: 24 kB / 0.5017 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2663, allocations: 12 kB / 0.5017 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.2665, allocations: 180.9 kB / 0.5019 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.2685, allocations: 1.577 MB / 0.5034 GB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.2686, allocations: 83.11 kB / 0.5035 GB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.2686, allocations: 27.67 kB / 0.5035 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.2688, allocations: 48.11 kB / 0.5036 GB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2688, allocations: 49.33 kB / 0.5036 GB, free: 8.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.2688, allocations: 0 / 0.5036 GB, free: 8.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002576/0.2691, allocations: 201 kB / 0.5038 GB, free: 8.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.2691, allocations: 55.41 kB / 0.5039 GB, free: 8.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.2698, allocations: 1.117 MB / 0.505 GB, free: 7.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2699, allocations: 29.7 kB / 0.505 GB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.2702, allocations: 0.6982 MB / 0.5057 GB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.2702, allocations: 43.64 kB / 0.5057 GB, free: 6.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.2703, allocations: 91.22 kB / 0.5058 GB, free: 6.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2704, allocations: 0.4887 MB / 0.5063 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.2705, allocations: 56.98 kB / 0.5063 GB, free: 5.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2706, allocations: 242.5 kB / 0.5066 GB, free: 5.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.2708, allocations: 304.9 kB / 0.5069 GB, free: 5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2708, allocations: 0 / 0.5069 GB, free: 5 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003372/0.2712, allocations: 356.5 kB / 0.5072 GB, free: 4.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2712, allocations: 4 kB / 0.5072 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2712, allocations: 8.562 kB / 0.5072 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2712, allocations: 11.94 kB / 0.5072 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.2715, allocations: 115.4 kB / 0.5073 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/0.272, allocations: 1.794 MB / 0.5091 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2722, allocations: 51.61 kB / 0.5091 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.2722, allocations: 16 kB / 0.5091 GB, free: 2.594 MB / 378.7 MB 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.000182/0.2724, allocations: 184.5 kB / 0.5093 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.2725, allocations: 115.3 kB / 0.5094 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.2727, allocations: 184 kB / 0.5096 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2727, allocations: 0 / 0.5096 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.2727, allocations: 0 / 0.5096 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2727, allocations: 0 / 0.5096 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.2731, allocations: 430.6 kB / 0.51 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2731, allocations: 0 / 0.51 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.2733, allocations: 54.83 kB / 0.5101 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2733, allocations: 0 / 0.5101 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2733, allocations: 8 kB / 0.5101 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004859/0.2738, allocations: 1.79 MB / 0.5118 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2738, allocations: 0 / 0.5118 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.274, allocations: 362.2 kB / 0.5122 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.2741, allocations: 103.2 kB / 0.5123 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.2742, allocations: 4 kB / 0.5123 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2743, allocations: 11.98 kB / 0.5123 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.2743, allocations: 11.98 kB / 0.5123 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.2744, allocations: 16.14 kB / 0.5123 GB, free: 15.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004256/0.2748, allocations: 0.6339 MB / 0.5129 GB, free: 14.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2748, allocations: 0 / 0.5129 GB, free: 14.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000496/0.2753, allocations: 243.4 kB / 0.5132 GB, free: 14.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0009421/0.2762, allocations: 492.8 kB / 0.5136 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.2765, allocations: 156.2 kB / 0.5138 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2765, allocations: 4 kB / 0.5138 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.2766, allocations: 59.89 kB / 0.5138 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.2771, allocations: 200.1 kB / 0.514 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.279, allocations: 1.571 MB / 0.5156 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2792, allocations: 237.7 kB / 0.5158 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.2794, allocations: 113.2 kB / 0.5159 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.2799, allocations: 309.9 kB / 0.5162 GB, free: 11.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2799, allocations: 0 / 0.5162 GB, free: 11.2 MB / 394.7 MB Notification: Performance of Templates: time 0.01831/0.2982, allocations: 12.7 MB / 0.5286 GB, free: 14.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5875401059165597]