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.001057/0.001057, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001232/0.001232, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9329/0.9329, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.1774/0.1774, allocations: 36.34 MB / 275.4 MB, free: 10.54 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 2.815e-06/2.815e-06, allocations: 2.156 kB / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.422e-05, allocations: 6.266 kB / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.139/0.1391, allocations: 145.8 MB / 451 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.1434, allocations: 3.703 MB / 454.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.1439, allocations: 7.938 kB / 454.7 MB, free: 14.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.1445, allocations: 158.8 kB / 454.9 MB, free: 13.89 MB / 426.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.0008918/0.1454, allocations: 0.579 MB / 455.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.1483, allocations: 1.553 MB / 457 MB, free: 11.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.1499, allocations: 1.316 MB / 458.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.1505, allocations: 374 kB / 458.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009501/0.1514, allocations: 0.8849 MB / 459.6 MB, free: 9.164 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.1519, allocations: 342.9 kB / 459.9 MB, free: 8.828 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.152, allocations: 56 kB / 459.9 MB, free: 8.773 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.1538, allocations: 1.064 MB / 461 MB, free: 7.707 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.1541, allocations: 466.7 kB / 461.5 MB, free: 7.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.1544, allocations: 331.1 kB / 461.8 MB, free: 6.926 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.1567, allocations: 1.558 MB / 463.3 MB, free: 5.363 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1567, allocations: 0 / 463.3 MB, free: 5.363 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1567, allocations: 0 / 463.3 MB, free: 5.363 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.1567, allocations: 0 / 463.3 MB, free: 5.363 MB / 426.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.001743/0.1584, allocations: 1.4 MB / 464.7 MB, free: 3.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1585, allocations: 8.031 kB / 464.8 MB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.159, allocations: 228.3 kB / 465 MB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/0.16, allocations: 0.5778 MB / 465.6 MB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.16, allocations: 37.69 kB / 465.6 MB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.1601, allocations: 64.12 kB / 465.7 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.1607, allocations: 0.8226 MB / 466.5 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.1607, allocations: 7.953 kB / 466.5 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1608, allocations: 23.94 kB / 466.5 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1608, allocations: 12 kB / 466.5 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.161, allocations: 159.9 kB / 466.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.163, allocations: 1.225 MB / 467.9 MB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1632, allocations: 132 kB / 468 MB, free: 452 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.1632, allocations: 16.86 kB / 468 MB, free: 432 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.1633, allocations: 47.97 kB / 468.1 MB, free: 384 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1634, allocations: 42.55 kB / 468.1 MB, free: 332 kB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.1634, allocations: 0 / 468.1 MB, free: 332 kB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002383/0.1636, allocations: 134.5 kB / 468.3 MB, free: 192 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1636, allocations: 51.41 kB / 468.3 MB, free: 128 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1958/0.3595, allocations: 0.9998 MB / 469.3 MB, free: 21.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.3596, allocations: 35.8 kB / 469.4 MB, free: 21.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.36, allocations: 420.3 kB / 469.8 MB, free: 21.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.36, allocations: 48.84 kB / 469.8 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3602, allocations: 80.38 kB / 469.9 MB, free: 21.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.3603, allocations: 321.8 kB / 470.2 MB, free: 20.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3604, allocations: 56.56 kB / 470.3 MB, free: 20.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3606, allocations: 180.4 kB / 470.4 MB, free: 20.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.3609, allocations: 258.4 kB / 470.7 MB, free: 20.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.3609, allocations: 3.75 kB / 470.7 MB, free: 20.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006468/0.3615, allocations: 288.8 kB / 471 MB, free: 20.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.3615, allocations: 11.39 kB / 471 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3616, allocations: 6.812 kB / 471 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.3616, allocations: 7.094 kB / 471 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.3621, allocations: 102.2 kB / 471.1 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004164/0.3625, allocations: 1.177 MB / 472.3 MB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.3629, allocations: 43.5 kB / 472.3 MB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.3629, allocations: 22.7 kB / 472.3 MB, free: 19.17 MB / 426.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.0003102/0.3632, allocations: 139.9 kB / 472.5 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.3634, allocations: 64.38 kB / 472.5 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3637, allocations: 169.3 kB / 472.7 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3637, allocations: 2.188 kB / 472.7 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3637, allocations: 1.297 kB / 472.7 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3637, allocations: 1.656 kB / 472.7 MB, free: 19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.3643, allocations: 329.4 kB / 473 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3643, allocations: 1.062 kB / 473 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.3646, allocations: 48.64 kB / 473.1 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3646, allocations: 1.156 kB / 473.1 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3646, allocations: 2.406 kB / 473.1 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003078/0.3649, allocations: 1.168 MB / 474.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3649, allocations: 1.094 kB / 474.3 MB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.3652, allocations: 299.9 kB / 474.5 MB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.3654, allocations: 99.47 kB / 474.6 MB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.3655, allocations: 2.953 kB / 474.6 MB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.3657, allocations: 18.11 kB / 474.7 MB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.3657, allocations: 8.844 kB / 474.7 MB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.3658, allocations: 14.92 kB / 474.7 MB, free: 17.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008136/0.3666, allocations: 0.5139 MB / 475.2 MB, free: 17.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3666, allocations: 0 / 475.2 MB, free: 17.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008581/0.3674, allocations: 238 kB / 475.4 MB, free: 17.45 MB / 426.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.001691/0.3691, allocations: 0.5802 MB / 476 MB, free: 17.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.3696, allocations: 141.7 kB / 476.2 MB, free: 17.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-05/0.3696, allocations: 15.34 kB / 476.2 MB, free: 17.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3698, allocations: 56.86 kB / 476.2 MB, free: 17.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/0.3707, allocations: 189.8 kB / 476.4 MB, free: 17.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.3742, allocations: 1.593 MB / 478 MB, free: 16.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3746, allocations: 237.2 kB / 478.2 MB, free: 16.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005356/0.3751, allocations: 113.2 kB / 478.3 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006636/0.3758, allocations: 243.6 kB / 478.6 MB, free: 16.21 MB / 426.7 MB Notification: Performance of SimCode: time 2.084e-06/0.3758, allocations: 2.281 kB / 478.6 MB, free: 16.21 MB / 426.7 MB Notification: Performance of Templates: time 0.02089/0.3967, allocations: 12.66 MB / 491.2 MB, free: 14.86 MB / 426.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.653794142883271]