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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 116.7 kB / 17.11 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 193.3 kB / 18.05 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.6 MB / 226.4 MB, free: 11.54 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.307/0.307, allocations: 49.51 MB / 325.8 MB, free: 7.469 MB / 270.1 MB 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.002114/0.002114, allocations: 67.89 kB / 462.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1213, allocations: 62.33 MB / 0.5122 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2652/0.3865, allocations: 51.04 MB / 0.562 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.4078, allocations: 17.15 MB / 0.5787 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.4083, allocations: 9.156 kB / 0.5788 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007589/0.409, allocations: 266.8 kB / 0.579 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.4171, allocations: 2.381 MB / 0.5813 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01097/0.428, allocations: 3.25 MB / 0.5845 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.4294, allocations: 0.8496 MB / 0.5853 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.4299, allocations: 246.4 kB / 0.5856 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.4304, allocations: 344.1 kB / 0.5859 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.4309, allocations: 372.5 kB / 0.5863 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.431, allocations: 31.81 kB / 0.5863 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01752/0.4485, allocations: 7.523 MB / 0.5936 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.4487, allocations: 91 kB / 0.5937 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.4492, allocations: 258.5 kB / 0.594 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.4631, allocations: 4.614 MB / 0.5985 GB, free: 1.441 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4631, allocations: 0 / 0.5985 GB, free: 1.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4631, allocations: 0 / 0.5985 GB, free: 1.441 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4631, allocations: 0 / 0.5985 GB, free: 1.441 MB / 446.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.003712/0.4668, allocations: 1.41 MB / 0.5998 GB, free: 316 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.4669, allocations: 11.89 kB / 0.5999 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.889e-05/0.467, allocations: 70.72 kB / 0.5999 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.468, allocations: 156.5 kB / 0.6001 GB, free: 68 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.4686, allocations: 366.3 kB / 0.6004 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.4687, allocations: 25.03 kB / 0.6004 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.4687, allocations: 36.38 kB / 0.6005 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.4696, allocations: 483 kB / 0.6009 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4696, allocations: 5.453 kB / 0.601 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.4697, allocations: 16 kB / 0.601 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.4697, allocations: 11.94 kB / 0.601 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.4703, allocations: 306.3 kB / 0.6013 GB, free: 14.77 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.002691/0.473, allocations: 2.504 MB / 0.6037 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.4736, allocations: 258.4 kB / 0.604 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.4738, allocations: 128.8 kB / 0.6041 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06795/0.5418, allocations: 32.6 MB / 0.6359 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007766/0.5425, allocations: 298.8 kB / 0.6362 GB, free: 6.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 2.554e-06/0.5425, allocations: 0 / 0.6362 GB, free: 6.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.004164/0.5467, allocations: 1.723 MB / 0.6379 GB, free: 4.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.5468, allocations: 136.5 kB / 0.638 GB, free: 4.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.5474, allocations: 401.9 kB / 0.6384 GB, free: 4.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.5474, allocations: 33.64 kB / 0.6384 GB, free: 4.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.5477, allocations: 252.4 kB / 0.6387 GB, free: 4.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.5479, allocations: 123 kB / 0.6388 GB, free: 3.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.548, allocations: 74.02 kB / 0.6389 GB, free: 3.902 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.5482, allocations: 358.8 kB / 0.6392 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.5485, allocations: 132.7 kB / 0.6393 GB, free: 3.414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.5488, allocations: 215.8 kB / 0.6395 GB, free: 3.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.5495, allocations: 466.2 kB / 0.64 GB, free: 2.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5495, allocations: 0 / 0.64 GB, free: 2.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001276/0.5507, allocations: 0.6203 MB / 0.6406 GB, free: 2.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.5508, allocations: 79.22 kB / 0.6407 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5509, allocations: 7.312 kB / 0.6407 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.5522, allocations: 154.5 kB / 0.6408 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.5524, allocations: 59.91 kB / 0.6409 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.5536, allocations: 1.132 MB / 0.642 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.5538, allocations: 15.98 kB / 0.642 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.5539, allocations: 16.16 kB / 0.642 GB, free: 0.4961 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.0003512/0.5542, allocations: 251.6 kB / 0.6422 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.5543, allocations: 51.67 kB / 0.6423 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.5568, allocations: 1.571 MB / 0.6438 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.5568, allocations: 23.91 kB / 0.6439 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5568, allocations: 0.5625 kB / 0.6439 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5568, allocations: 0 / 0.6439 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.5578, allocations: 0.7322 MB / 0.6446 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.5578, allocations: 4 kB / 0.6446 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.5581, allocations: 47.48 kB / 0.6446 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006537/0.5587, allocations: 248.4 kB / 0.6449 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.5587, allocations: 15.98 kB / 0.6449 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.5599, allocations: 1.343 MB / 0.6462 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5599, allocations: 0 / 0.6462 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.5621, allocations: 1.695 MB / 0.6478 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.5624, allocations: 188.4 kB / 0.648 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.5625, allocations: 12.09 kB / 0.648 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.5627, allocations: 15.94 kB / 0.648 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.5628, allocations: 19.97 kB / 0.6481 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.5628, allocations: 19.98 kB / 0.6481 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003354/0.5631, allocations: 275.2 kB / 0.6483 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5631, allocations: 0 / 0.6483 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003341/0.5665, allocations: 1.119 MB / 0.6494 GB, free: 8.68 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.008756/0.5752, allocations: 3.337 MB / 0.6527 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.5766, allocations: 0.6733 MB / 0.6534 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5766, allocations: 0.5 kB / 0.6534 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.5775, allocations: 0.5012 MB / 0.6538 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.5786, allocations: 193.9 kB / 0.654 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009843/0.5885, allocations: 5.251 MB / 0.6592 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.5891, allocations: 0.9149 MB / 0.66 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.5894, allocations: 99.05 kB / 0.6601 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.5897, allocations: 219.3 kB / 0.6604 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/0.5897, allocations: 0 / 0.6604 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.7201, allocations: 47.62 MB / 0.7069 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.53, allocations: 4.062 kB / 0.7069 GB, free: 13.47 MB / 0.5606 GB (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 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)