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.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.0008365/0.0008365, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008711/0.0008711, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8779/0.8779, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1787/0.1787, allocations: 36.35 MB / 274.3 MB, free: 10.9 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 414.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.227e-05, allocations: 2.281 kB / 414.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1967/0.1968, allocations: 46.38 MB / 460.7 MB, free: 7.199 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.2074, allocations: 15.33 MB / 476 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.2077, allocations: 14 kB / 476.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.2084, allocations: 267.3 kB / 476.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.2125, allocations: 2.386 MB / 478.7 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006413/0.219, allocations: 3.25 MB / 482 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007664/0.2197, allocations: 0.8836 MB / 482.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.22, allocations: 243.6 kB / 483.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.2204, allocations: 475.8 kB / 483.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.2207, allocations: 341.3 kB / 483.9 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.2208, allocations: 31.53 kB / 483.9 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008418/0.2292, allocations: 7.152 MB / 491.1 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.2293, allocations: 103.5 kB / 491.2 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.2294, allocations: 167.6 kB / 491.3 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006173/0.2356, allocations: 5.738 MB / 497.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2356, allocations: 0 / 497.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2356, allocations: 0.5625 kB / 497.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.2356, allocations: 3.938 kB / 497.1 MB, free: 10.78 MB / 394.7 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.001701/0.2373, allocations: 1.311 MB / 498.4 MB, free: 9.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2374, allocations: 16.03 kB / 498.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.2374, allocations: 70.72 kB / 498.5 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.2379, allocations: 160.4 kB / 498.6 MB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.2383, allocations: 298.1 kB / 498.9 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2383, allocations: 21.03 kB / 498.9 MB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.2383, allocations: 36.38 kB / 499 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.2389, allocations: 0.5632 MB / 499.5 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2389, allocations: 4 kB / 499.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.239, allocations: 19.94 kB / 499.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.239, allocations: 8 kB / 499.6 MB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.2394, allocations: 369.7 kB / 499.9 MB, free: 7.77 MB / 394.7 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.001337/0.2407, allocations: 1.737 MB / 0.4899 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.2411, allocations: 315.1 kB / 0.4902 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2412, allocations: 192.4 kB / 0.4904 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/0.2701, allocations: 16.91 MB / 0.5069 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/0.2706, allocations: 362 kB / 0.5072 GB, free: 4.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.2706, allocations: 0 / 0.5072 GB, free: 4.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002356/0.273, allocations: 1.709 MB / 0.5089 GB, free: 2.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.273, allocations: 144.5 kB / 0.509 GB, free: 2.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.2733, allocations: 405.9 kB / 0.5094 GB, free: 1.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2733, allocations: 33.7 kB / 0.5095 GB, free: 1.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2735, allocations: 244.5 kB / 0.5097 GB, free: 1.414 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.2735, allocations: 115 kB / 0.5098 GB, free: 1.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.2736, allocations: 77.97 kB / 0.5099 GB, free: 1.219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.2737, allocations: 362.7 kB / 0.5102 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2739, allocations: 204.2 kB / 0.5104 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.2741, allocations: 301.3 kB / 0.5107 GB, free: 312 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2744, allocations: 482.1 kB / 0.5112 GB, free: 15.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2745, allocations: 0 / 0.5112 GB, free: 15.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006583/0.2751, allocations: 0.6966 MB / 0.5119 GB, free: 15.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.2752, allocations: 73.89 kB / 0.5119 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2752, allocations: 4 kB / 0.5119 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/0.2758, allocations: 157.5 kB / 0.5121 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.276, allocations: 63.84 kB / 0.5121 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006871/0.2767, allocations: 1.132 MB / 0.5132 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2768, allocations: 16.03 kB / 0.5133 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.2768, allocations: 20.81 kB / 0.5133 GB, free: 13.52 MB / 426.7 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.0001838/0.277, allocations: 245.1 kB / 0.5135 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.277, allocations: 55.67 kB / 0.5136 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.2783, allocations: 1.688 MB / 0.5152 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.2783, allocations: 15.97 kB / 0.5152 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2783, allocations: 3.938 kB / 0.5152 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2783, allocations: 2.625 kB / 0.5152 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.2788, allocations: 0.6811 MB / 0.5159 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2788, allocations: 0 / 0.5159 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2789, allocations: 39.98 kB / 0.5159 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.2792, allocations: 258.5 kB / 0.5162 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2792, allocations: 16 kB / 0.5162 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005771/0.2798, allocations: 1.355 MB / 0.5175 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2798, allocations: 160 / 0.5175 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.2811, allocations: 1.879 MB / 0.5194 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2813, allocations: 111.3 kB / 0.5195 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.2813, allocations: 12 kB / 0.5195 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.2814, allocations: 8 kB / 0.5195 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.2815, allocations: 23.95 kB / 0.5195 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.2815, allocations: 19.98 kB / 0.5195 GB, free: 6.902 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003253/0.2818, allocations: 275.2 kB / 0.5198 GB, free: 6.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2818, allocations: 0 / 0.5198 GB, free: 6.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001984/0.2838, allocations: 1.119 MB / 0.5209 GB, free: 5.512 MB / 426.7 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.004119/0.2879, allocations: 3.665 MB / 0.5245 GB, free: 1.781 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007385/0.2887, allocations: 0.8088 MB / 0.5253 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2887, allocations: 0 / 0.5253 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.2891, allocations: 0.5764 MB / 0.5258 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.2896, allocations: 185.2 kB / 0.526 GB, free: 136 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.2947, allocations: 5.559 MB / 0.5314 GB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.2948, allocations: 318 kB / 0.5317 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.295, allocations: 99.17 kB / 0.5318 GB, free: 9.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.2952, allocations: 224.4 kB / 0.532 GB, free: 9.691 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2952, allocations: 0 / 0.532 GB, free: 9.691 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/0.3546, allocations: 48.79 MB / 0.5797 GB, free: 8.746 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.994/9.348, allocations: 11.98 kB / 0.5797 GB, free: 8.734 MB / 490.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.25975632481277] Failed to read output from testmodel.py, exit status != 0: 9.47009533457458 9.480843338 9.243490572 Calling exit ...