Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 116.1 kB / 17.74 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 186.9 kB / 20.68 MB, free: 2.426 MB / 14.72 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 1.437/1.437, allocations: 205.1 MB / 228.6 MB, free: 4.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3898/0.3898, allocations: 48.84 MB / 326.8 MB, free: 3.945 MB / 254.1 MB " [Timeout remaining time 179] 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.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "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.002123/0.002123, allocations: 75 kB / 459.2 MB, free: 46.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1042, allocations: 59.17 MB / 0.5063 GB, free: 16.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04965/0.1539, allocations: 50.96 MB / 0.556 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02199/0.1759, allocations: 17.1 MB / 0.5727 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004853/0.1765, allocations: 11.94 kB / 0.5727 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008913/0.1774, allocations: 258.4 kB / 0.573 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.1838, allocations: 2.378 MB / 0.5753 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008791/0.1926, allocations: 3.23 MB / 0.5785 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.194, allocations: 0.8562 MB / 0.5793 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.1945, allocations: 304.5 kB / 0.5796 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.195, allocations: 346.6 kB / 0.5799 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.1955, allocations: 366.6 kB / 0.5803 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.1955, allocations: 32 kB / 0.5803 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/0.2117, allocations: 7.519 MB / 0.5876 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.212, allocations: 99.56 kB / 0.5877 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005163/0.2125, allocations: 258.7 kB / 0.588 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.2247, allocations: 4.614 MB / 0.5925 GB, free: 7.801 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2247, allocations: 0 / 0.5925 GB, free: 7.801 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2247, allocations: 0 / 0.5925 GB, free: 7.801 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.2248, allocations: 4 kB / 0.5925 GB, free: 7.797 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003099/0.2279, allocations: 1.406 MB / 0.5939 GB, free: 6.324 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2279, allocations: 11.89 kB / 0.5939 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009537/0.2289, allocations: 152.5 kB / 0.594 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.2295, allocations: 370.4 kB / 0.5944 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.2295, allocations: 25.03 kB / 0.5944 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.2296, allocations: 36.33 kB / 0.5944 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009587/0.2306, allocations: 491 kB / 0.5949 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2306, allocations: 0 / 0.5949 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.2306, allocations: 16 kB / 0.5949 GB, free: 5.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.2307, allocations: 8 kB / 0.5949 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/0.2314, allocations: 306.3 kB / 0.5952 GB, free: 4.863 MB / 462.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.002736/0.2341, allocations: 2.51 MB / 0.5977 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.2348, allocations: 282.4 kB / 0.5979 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.235, allocations: 148.8 kB / 0.5981 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.072/0.307, allocations: 32.59 MB / 0.6299 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007832/0.3078, allocations: 302.7 kB / 0.6302 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.096e-06/0.3079, allocations: 0 / 0.6302 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.004232/0.3121, allocations: 1.71 MB / 0.6319 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.3122, allocations: 144.5 kB / 0.632 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.3128, allocations: 401.9 kB / 0.6324 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.3128, allocations: 33.7 kB / 0.6324 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.313, allocations: 244.4 kB / 0.6327 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3132, allocations: 111.1 kB / 0.6328 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3133, allocations: 78.02 kB / 0.6328 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3135, allocations: 354.8 kB / 0.6332 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3137, allocations: 132.7 kB / 0.6333 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.3141, allocations: 219.7 kB / 0.6335 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.3147, allocations: 470 kB / 0.634 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3147, allocations: 0 / 0.634 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001111/0.3158, allocations: 0.6273 MB / 0.6346 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.891e-05/0.3159, allocations: 79.23 kB / 0.6346 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.316, allocations: 4 kB / 0.6346 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.3172, allocations: 157.8 kB / 0.6348 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.3175, allocations: 63.91 kB / 0.6349 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.3187, allocations: 1.132 MB / 0.636 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.3189, allocations: 8 kB / 0.636 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.319, allocations: 23.98 kB / 0.636 GB, free: 6.539 MB / 0.4981 GB 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.000337/0.3193, allocations: 241.1 kB / 0.6362 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.3194, allocations: 51.72 kB / 0.6363 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.3217, allocations: 1.587 MB / 0.6378 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.3217, allocations: 27.89 kB / 0.6379 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3217, allocations: 0 / 0.6379 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3217, allocations: 0 / 0.6379 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.3226, allocations: 0.74 MB / 0.6386 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3226, allocations: 0 / 0.6386 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.3229, allocations: 47.92 kB / 0.6386 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006105/0.3235, allocations: 244.4 kB / 0.6389 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.3235, allocations: 12 kB / 0.6389 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3247, allocations: 1.343 MB / 0.6402 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3247, allocations: 0 / 0.6402 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.3271, allocations: 1.711 MB / 0.6418 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.3273, allocations: 188.4 kB / 0.642 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.3274, allocations: 11.98 kB / 0.642 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3276, allocations: 15.94 kB / 0.6421 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.3277, allocations: 19.97 kB / 0.6421 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.3277, allocations: 16 kB / 0.6421 GB, free: 84 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2742/0.6019, allocations: 279.6 kB / 0.6424 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.602, allocations: 0 / 0.6424 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004022/0.606, allocations: 1.124 MB / 0.6435 GB, free: 134.2 MB / 0.4981 GB 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.004889/0.6109, allocations: 1.318 MB / 0.6447 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.6126, allocations: 0.7455 MB / 0.6455 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.6126, allocations: 0 / 0.6455 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.6134, allocations: 0.6069 MB / 0.6461 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6145, allocations: 188.5 kB / 0.6462 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.6168, allocations: 1.469 MB / 0.6477 GB, free: 133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.6174, allocations: 0.9139 MB / 0.6486 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.6176, allocations: 94.52 kB / 0.6487 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.6177, allocations: 34.12 kB / 0.6487 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.6177, allocations: 0 / 0.6487 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.04339/0.6611, allocations: 40.72 MB / 0.6885 GB, free: 97.04 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.08719661552459]