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.001276/0.001276, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.00145/0.00145, allocations: 214 kB / 23.74 MB, free: 4.688 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.379/1.379, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.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.1487/0.1487, allocations: 26.82 MB / 340.7 MB, free: 8.176 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 75.81 kB / 476.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 60.47 MB / 0.5247 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05441/0.3915, allocations: 51.93 MB / 0.5754 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0214/0.4129, allocations: 17.3 MB / 0.5923 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.4135, allocations: 15.88 kB / 0.5923 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008937/0.4144, allocations: 262.4 kB / 0.5926 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007968/0.4224, allocations: 2.399 MB / 0.5949 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008929/0.4313, allocations: 3.268 MB / 0.5981 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4327, allocations: 0.8521 MB / 0.599 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.4332, allocations: 249 kB / 0.5992 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.4337, allocations: 342.8 kB / 0.5995 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.4343, allocations: 398.5 kB / 0.5999 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.4343, allocations: 36 kB / 0.5999 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01625/0.4506, allocations: 7.57 MB / 0.6073 GB, free: 276 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.4508, allocations: 103.5 kB / 0.6074 GB, free: 172 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.4512, allocations: 250.8 kB / 0.6077 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.4636, allocations: 4.641 MB / 0.6122 GB, free: 11.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4636, allocations: 0 / 0.6122 GB, free: 11.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4636, allocations: 4 kB / 0.6122 GB, free: 11.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.4636, allocations: 0 / 0.6122 GB, free: 11.26 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.00346/0.4671, allocations: 1.323 MB / 0.6135 GB, free: 9.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4671, allocations: 8.031 kB / 0.6135 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.311e-05/0.4672, allocations: 78.7 kB / 0.6136 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/0.4681, allocations: 148.5 kB / 0.6137 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.4686, allocations: 312.4 kB / 0.614 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.4686, allocations: 29.03 kB / 0.614 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.4686, allocations: 36.12 kB / 0.6141 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.4696, allocations: 487 kB / 0.6145 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4696, allocations: 0 / 0.6145 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.8e-05/0.4697, allocations: 16 kB / 0.6146 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4697, allocations: 8 kB / 0.6146 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.4703, allocations: 306.3 kB / 0.6149 GB, free: 8.414 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.002649/0.473, allocations: 2.464 MB / 0.6173 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.4736, allocations: 258.5 kB / 0.6175 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.4737, allocations: 125.3 kB / 0.6176 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05908/0.5328, allocations: 17.56 MB / 0.6348 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006926/0.5335, allocations: 306.7 kB / 0.6351 GB, free: 3.414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.5335, allocations: 0 / 0.6351 GB, free: 3.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003689/0.5372, allocations: 1.575 MB / 0.6366 GB, free: 1.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5373, allocations: 144.4 kB / 0.6367 GB, free: 1.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.5378, allocations: 401.9 kB / 0.6371 GB, free: 1.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5378, allocations: 33.7 kB / 0.6372 GB, free: 1.141 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.538, allocations: 244.5 kB / 0.6374 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.5381, allocations: 111 kB / 0.6375 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.5382, allocations: 85.97 kB / 0.6376 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5384, allocations: 354.8 kB / 0.6379 GB, free: 352 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.5386, allocations: 136.7 kB / 0.6381 GB, free: 216 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.5389, allocations: 211.9 kB / 0.6383 GB, free: 15.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.5394, allocations: 478.1 kB / 0.6387 GB, free: 15.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5394, allocations: 0 / 0.6387 GB, free: 15.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001022/0.5404, allocations: 0.6149 MB / 0.6393 GB, free: 14.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/0.5405, allocations: 75.31 kB / 0.6394 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5405, allocations: 4.25 kB / 0.6394 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.5417, allocations: 169.5 kB / 0.6395 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.542, allocations: 55.91 kB / 0.6396 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009719/0.5429, allocations: 1.14 MB / 0.6407 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.5431, allocations: 15.98 kB / 0.6407 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.5432, allocations: 16 kB / 0.6407 GB, free: 13.28 MB / 494.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.0002772/0.5434, allocations: 245.5 kB / 0.641 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.5435, allocations: 47.72 kB / 0.641 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.5456, allocations: 1.615 MB / 0.6426 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.5456, allocations: 27.91 kB / 0.6426 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5456, allocations: 4 kB / 0.6426 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5456, allocations: 0 / 0.6426 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/0.5464, allocations: 0.7196 MB / 0.6433 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5464, allocations: 0 / 0.6433 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.5466, allocations: 39.98 kB / 0.6434 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005839/0.5472, allocations: 263 kB / 0.6436 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.5472, allocations: 23.98 kB / 0.6436 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.5483, allocations: 1.347 MB / 0.645 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5483, allocations: 0 / 0.645 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.5505, allocations: 1.746 MB / 0.6467 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.5507, allocations: 107.3 kB / 0.6468 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.5508, allocations: 16 kB / 0.6468 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.5509, allocations: 8 kB / 0.6468 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.551, allocations: 23.95 kB / 0.6468 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.551, allocations: 20 kB / 0.6468 GB, free: 6.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.5514, allocations: 283.1 kB / 0.6471 GB, free: 6.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5514, allocations: 3.938 kB / 0.6471 GB, free: 6.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002953/0.5543, allocations: 1.127 MB / 0.6482 GB, free: 5.453 MB / 494.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.007086/0.5614, allocations: 3.36 MB / 0.6515 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.5627, allocations: 0.6811 MB / 0.6522 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5627, allocations: 4 kB / 0.6522 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006917/0.5634, allocations: 0.5026 MB / 0.6526 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.5644, allocations: 196.2 kB / 0.6528 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008064/0.5724, allocations: 5.287 MB / 0.658 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.573, allocations: 0.9072 MB / 0.6589 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002731/0.5733, allocations: 102.5 kB / 0.659 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.5735, allocations: 219.4 kB / 0.6592 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5735, allocations: 0 / 0.6592 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09553/0.6691, allocations: 48.44 MB / 0.7065 GB, free: 9.613 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.62, allocations: 11.02 kB / 0.7065 GB, free: 9.605 MB / 0.545 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestBarometricCondenser_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.216143229976296] Failed to read output from testmodel.py, exit status != 0: 15.766944312024862 15.789407955 15.321451976 Calling exit ...