Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001945/0.001945, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002455/0.002455, allocations: 165.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1424/0.1424, allocations: 19.74 MB / 280.4 MB, free: 12.9 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 417.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.519e-05, allocations: 6.219 kB / 417.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2727/0.2727, allocations: 52.65 MB / 469.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.2832, allocations: 9.239 MB / 479 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.2836, allocations: 14.09 kB / 479 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.2843, allocations: 266.4 kB / 479.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005958/0.2903, allocations: 2.402 MB / 481.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.301, allocations: 3.274 MB / 484.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3023, allocations: 0.9028 MB / 485.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.3026, allocations: 241.7 kB / 486 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005274/0.3032, allocations: 477.3 kB / 486.5 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.3036, allocations: 343.2 kB / 486.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/0.3037, allocations: 34 kB / 486.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/0.317, allocations: 7.164 MB / 494 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3172, allocations: 101.6 kB / 494.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.3176, allocations: 176.3 kB / 494.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.3306, allocations: 5.764 MB / 0.4884 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3306, allocations: 0 / 0.4884 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3306, allocations: 4 kB / 0.4884 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3306, allocations: 2.438 kB / 0.4884 GB, free: 11.05 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003196/0.3338, allocations: 1.323 MB / 0.4897 GB, free: 9.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3338, allocations: 12.03 kB / 0.4897 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3348, allocations: 152.5 kB / 0.4898 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.3354, allocations: 311.6 kB / 0.4901 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.3354, allocations: 29.38 kB / 0.4901 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.3355, allocations: 36.38 kB / 0.4902 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3365, allocations: 0.5652 MB / 0.4907 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3366, allocations: 384 / 0.4907 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.3366, allocations: 15.94 kB / 0.4907 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3366, allocations: 12 kB / 0.4908 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.3374, allocations: 373.7 kB / 0.4911 GB, free: 8.094 MB / 382.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.002339/0.3397, allocations: 1.689 MB / 0.4928 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.3404, allocations: 313.9 kB / 0.4931 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.3406, allocations: 196.4 kB / 0.4932 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06613/0.4068, allocations: 17.62 MB / 0.5105 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008116/0.4076, allocations: 362 kB / 0.5108 GB, free: 3.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.745e-06/0.4076, allocations: 0 / 0.5108 GB, free: 3.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.004313/0.4119, allocations: 1.708 MB / 0.5125 GB, free: 1.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.412, allocations: 136.5 kB / 0.5126 GB, free: 1.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.4125, allocations: 361.6 kB / 0.5129 GB, free: 1.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.4125, allocations: 33.7 kB / 0.513 GB, free: 1.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.4127, allocations: 252.5 kB / 0.5132 GB, free: 1.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.4128, allocations: 111.1 kB / 0.5133 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.413, allocations: 82.02 kB / 0.5134 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.4132, allocations: 354.7 kB / 0.5137 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.4135, allocations: 204.1 kB / 0.5139 GB, free: 384 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.4139, allocations: 305.2 kB / 0.5142 GB, free: 32 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.4145, allocations: 482 kB / 0.5147 GB, free: 15.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4145, allocations: 0 / 0.5147 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001306/0.4159, allocations: 0.6945 MB / 0.5154 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.4159, allocations: 71.38 kB / 0.5154 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4159, allocations: 4 kB / 0.5154 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.4173, allocations: 157.8 kB / 0.5156 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.4175, allocations: 63.84 kB / 0.5156 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.4187, allocations: 1.132 MB / 0.5167 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.4189, allocations: 16.05 kB / 0.5168 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.419, allocations: 23.94 kB / 0.5168 GB, free: 13.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.4193, allocations: 241.2 kB / 0.517 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.4194, allocations: 39.77 kB / 0.5171 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.4218, allocations: 1.692 MB / 0.5187 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.4218, allocations: 24 kB / 0.5187 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4218, allocations: 3.438 kB / 0.5187 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4218, allocations: 0 / 0.5187 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.4227, allocations: 0.6036 MB / 0.5193 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4227, allocations: 0 / 0.5193 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.4229, allocations: 47.91 kB / 0.5194 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000669/0.4236, allocations: 254.5 kB / 0.5196 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.4236, allocations: 15.98 kB / 0.5196 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.4248, allocations: 1.351 MB / 0.5209 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4248, allocations: 0 / 0.5209 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.4273, allocations: 1.871 MB / 0.5228 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.4275, allocations: 103.5 kB / 0.5229 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.4275, allocations: 15.94 kB / 0.5229 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4277, allocations: 15.98 kB / 0.5229 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.4278, allocations: 19.97 kB / 0.5229 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.4278, allocations: 15.98 kB / 0.5229 GB, free: 6.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.4281, allocations: 247.2 kB / 0.5232 GB, free: 6.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4281, allocations: 3.938 kB / 0.5232 GB, free: 6.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002865/0.431, allocations: 1.127 MB / 0.5243 GB, free: 5.367 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005686/0.4366, allocations: 1.489 MB / 0.5257 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.4382, allocations: 0.8287 MB / 0.5265 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4382, allocations: 0 / 0.5265 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008672/0.4391, allocations: 0.564 MB / 0.5271 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4402, allocations: 167.7 kB / 0.5272 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.4427, allocations: 1.453 MB / 0.5287 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4431, allocations: 325.3 kB / 0.529 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.4433, allocations: 82.83 kB / 0.5291 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.4434, allocations: 32.5 kB / 0.5291 GB, free: 308 kB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4434, allocations: 0 / 0.5291 GB, free: 308 kB / 414.1 MB Notification: Performance of Templates: time 0.06148/0.5049, allocations: 40.07 MB / 0.5682 GB, free: 8.293 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5445649437606335] Failed to read output from testmodel.py, exit status != 0: 0.5160898566246033 0.5298085610000001 0.195802987 Calling exit ...