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.001106/0.001106, allocations: 114 kB / 17.06 MB, free: 5.992 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.001108/0.001108, allocations: 198.9 kB / 18 MB, free: 5.07 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.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2591/0.2591, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.001638/0.001638, allocations: 71.91 kB / 450 MB, free: 9.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 59.17 MB / 0.4973 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2537/0.3587, allocations: 50.95 MB / 0.547 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.3765, allocations: 17.13 MB / 0.5637 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004583/0.377, allocations: 9.531 kB / 0.5637 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007736/0.3779, allocations: 264.9 kB / 0.564 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.384, allocations: 2.368 MB / 0.5663 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.3944, allocations: 3.232 MB / 0.5695 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.3957, allocations: 0.8594 MB / 0.5703 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.3962, allocations: 303.2 kB / 0.5706 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.3968, allocations: 344.7 kB / 0.5709 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.3973, allocations: 371.9 kB / 0.5713 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.3974, allocations: 32.72 kB / 0.5713 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.4122, allocations: 7.509 MB / 0.5786 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.4124, allocations: 99.5 kB / 0.5787 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.4128, allocations: 259.6 kB / 0.579 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.4236, allocations: 4.606 MB / 0.5835 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4237, allocations: 0 / 0.5835 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4237, allocations: 0 / 0.5835 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4237, allocations: 0 / 0.5835 GB, free: 15.32 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.003126/0.4268, allocations: 1.367 MB / 0.5848 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4269, allocations: 17.3 kB / 0.5848 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.898e-05/0.427, allocations: 71.09 kB / 0.5849 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000989/0.4279, allocations: 153.8 kB / 0.585 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.4284, allocations: 355.7 kB / 0.5854 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.4285, allocations: 27 kB / 0.5854 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.4285, allocations: 36.03 kB / 0.5854 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008356/0.4294, allocations: 488 kB / 0.5859 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4294, allocations: 1.5 kB / 0.5859 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.4295, allocations: 16.44 kB / 0.5859 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4295, allocations: 8 kB / 0.5859 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.4301, allocations: 316 kB / 0.5862 GB, free: 13.31 MB / 446.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.002266/0.4324, allocations: 2.507 MB / 0.5887 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.4329, allocations: 282 kB / 0.589 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.4331, allocations: 150.3 kB / 0.5891 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06565/0.4988, allocations: 32.58 MB / 0.6209 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007196/0.4996, allocations: 303.6 kB / 0.6212 GB, free: 7.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.156e-06/0.4996, allocations: 4 kB / 0.6212 GB, free: 7.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003993/0.5036, allocations: 1.697 MB / 0.6229 GB, free: 5.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.5037, allocations: 144.5 kB / 0.623 GB, free: 5.164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.5041, allocations: 405.8 kB / 0.6234 GB, free: 4.762 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.5041, allocations: 33.7 kB / 0.6234 GB, free: 4.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.5043, allocations: 240.2 kB / 0.6237 GB, free: 4.484 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.5044, allocations: 118.4 kB / 0.6238 GB, free: 4.367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.5045, allocations: 77.92 kB / 0.6238 GB, free: 4.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5046, allocations: 358.8 kB / 0.6242 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.5048, allocations: 128.7 kB / 0.6243 GB, free: 3.801 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.5051, allocations: 215.8 kB / 0.6245 GB, free: 3.562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.5056, allocations: 474.2 kB / 0.625 GB, free: 3.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5057, allocations: 0 / 0.625 GB, free: 3.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009862/0.5066, allocations: 0.6194 MB / 0.6256 GB, free: 2.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.5067, allocations: 79.36 kB / 0.6256 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5067, allocations: 0 / 0.6256 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.508, allocations: 157.6 kB / 0.6258 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.5083, allocations: 59.91 kB / 0.6259 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008769/0.5091, allocations: 1.135 MB / 0.627 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.5094, allocations: 12.03 kB / 0.627 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.5094, allocations: 23.98 kB / 0.627 GB, free: 0.875 MB / 478.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.0002633/0.5097, allocations: 249 kB / 0.6272 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.5098, allocations: 47.53 kB / 0.6273 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.5119, allocations: 1.583 MB / 0.6288 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.5119, allocations: 27.91 kB / 0.6288 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5119, allocations: 0 / 0.6288 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5119, allocations: 0 / 0.6288 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.5127, allocations: 0.7398 MB / 0.6296 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5127, allocations: 0 / 0.6296 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.5129, allocations: 39.92 kB / 0.6296 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005628/0.5135, allocations: 256.3 kB / 0.6299 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.5135, allocations: 15.94 kB / 0.6299 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009886/0.5145, allocations: 1.339 MB / 0.6312 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5145, allocations: 8.094 kB / 0.6312 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.5165, allocations: 1.707 MB / 0.6329 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.5167, allocations: 176.1 kB / 0.633 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.5168, allocations: 15.98 kB / 0.633 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.517, allocations: 16 kB / 0.6331 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.5171, allocations: 19.97 kB / 0.6331 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.5171, allocations: 19.94 kB / 0.6331 GB, free: 10.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.5174, allocations: 279.1 kB / 0.6334 GB, free: 10.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5174, allocations: 0 / 0.6334 GB, free: 10.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003109/0.5205, allocations: 1.113 MB / 0.6344 GB, free: 9.039 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.006723/0.5273, allocations: 3.317 MB / 0.6377 GB, free: 5.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.5285, allocations: 0.7397 MB / 0.6384 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5285, allocations: 0 / 0.6384 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006783/0.5292, allocations: 0.5994 MB / 0.639 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5302, allocations: 197 kB / 0.6392 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.5376, allocations: 5.215 MB / 0.6443 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.5381, allocations: 0.9189 MB / 0.6452 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.5384, allocations: 95.17 kB / 0.6453 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.5386, allocations: 219.4 kB / 0.6455 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.374e-06/0.5386, allocations: 4 kB / 0.6455 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07977/0.6184, allocations: 47.82 MB / 0.6922 GB, free: 13.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.33, allocations: 3.938 kB / 0.6922 GB, free: 13.5 MB / 0.545 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)