Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",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.0008005/0.0008005, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009102/0.0009103, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.331/1.331, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4132/0.4132, allocations: 48.76 MB / 320.4 MB, free: 3.82 MB / 254.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.0005622/0.0005622, allocations: 19.98 kB / 391.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1232, allocations: 60.26 MB / 451.5 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3009/0.4241, allocations: 100 MB / 0.5386 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.4376, allocations: 10.95 MB / 0.5493 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.4384, allocations: 31.81 kB / 0.5493 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.4398, allocations: 433.2 kB / 0.5498 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.441, allocations: 0.6795 MB / 0.5504 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.4538, allocations: 4.354 MB / 0.5547 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.4565, allocations: 2.124 MB / 0.5568 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009926/0.4575, allocations: 491.5 kB / 0.5572 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009216/0.4585, allocations: 0.5641 MB / 0.5578 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.4592, allocations: 0.5991 MB / 0.5584 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/0.4592, allocations: 44 kB / 0.5584 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/0.4709, allocations: 6.055 MB / 0.5643 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.4712, allocations: 127.5 kB / 0.5644 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.4715, allocations: 177.3 kB / 0.5646 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.4758, allocations: 2.861 MB / 0.5674 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4759, allocations: 0 / 0.5674 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4759, allocations: 0 / 0.5674 GB, free: 11.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4759, allocations: 0 / 0.5674 GB, free: 11.67 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003121/0.479, allocations: 1.419 MB / 0.5688 GB, free: 10.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4791, allocations: 12.03 kB / 0.5688 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.4792, allocations: 106.5 kB / 0.5689 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.4795, allocations: 114.9 kB / 0.569 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.48, allocations: 448.6 kB / 0.5694 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.48, allocations: 49.31 kB / 0.5695 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.4801, allocations: 60 kB / 0.5695 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.4816, allocations: 0.8218 MB / 0.5703 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.4817, allocations: 0 / 0.5703 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.4817, allocations: 28 kB / 0.5704 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.4818, allocations: 16 kB / 0.5704 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.4831, allocations: 0.6022 MB / 0.571 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.4868, allocations: 4.389 MB / 0.5753 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.488, allocations: 0.4928 MB / 0.5757 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.4884, allocations: 185.6 kB / 0.5759 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05542/0.5438, allocations: 32.3 MB / 0.6075 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.5439, allocations: 43.88 kB / 0.6075 GB, free: 14.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.5439, allocations: 0 / 0.6075 GB, free: 14.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.002113/0.546, allocations: 0.7144 MB / 0.6082 GB, free: 13.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.5461, allocations: 85.05 kB / 0.6083 GB, free: 13.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.5466, allocations: 470.9 kB / 0.6087 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.5466, allocations: 29.7 kB / 0.6088 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.5469, allocations: 335.7 kB / 0.6091 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.5469, allocations: 110.3 kB / 0.6092 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.547, allocations: 8 kB / 0.6092 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5471, allocations: 362.8 kB / 0.6095 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.5475, allocations: 132.6 kB / 0.6097 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.5478, allocations: 213.8 kB / 0.6099 GB, free: 11.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.5482, allocations: 146.8 kB / 0.61 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5482, allocations: 4 kB / 0.61 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008445/0.549, allocations: 456.5 kB / 0.6104 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.5491, allocations: 152.9 kB / 0.6106 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5491, allocations: 0 / 0.6106 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5492, allocations: 4 kB / 0.6106 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.5496, allocations: 91.88 kB / 0.6107 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5496, allocations: 8 kB / 0.6107 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.55, allocations: 87.47 kB / 0.6108 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.5501, allocations: 19.98 kB / 0.6108 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.5501, allocations: 4 kB / 0.6108 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005372/0.5506, allocations: 304.1 kB / 0.6111 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-06/0.5507, allocations: 0 / 0.6111 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.5507, allocations: 16.14 kB / 0.6111 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.551, allocations: 89.45 kB / 0.6112 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.551, allocations: 11.92 kB / 0.6112 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.5513, allocations: 83.48 kB / 0.6113 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.5513, allocations: 12 kB / 0.6113 GB, free: 10.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.5516, allocations: 257 kB / 0.6115 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.5517, allocations: 55.34 kB / 0.6116 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.5535, allocations: 1.582 MB / 0.6131 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.5535, allocations: 27.89 kB / 0.6132 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5535, allocations: 0 / 0.6132 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5536, allocations: 4 kB / 0.6132 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5547, allocations: 0.9869 MB / 0.6141 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5547, allocations: 0 / 0.6141 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.555, allocations: 67.89 kB / 0.6142 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.555, allocations: 7.625 kB / 0.6142 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.555, allocations: 8 kB / 0.6142 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5551, allocations: 0 / 0.6142 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5551, allocations: 3.984 kB / 0.6142 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.5562, allocations: 1 MB / 0.6152 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.5565, allocations: 203.7 kB / 0.6154 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.5565, allocations: 4 kB / 0.6154 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.5569, allocations: 59.94 kB / 0.6154 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.557, allocations: 39.88 kB / 0.6155 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.557, allocations: 12 kB / 0.6155 GB, free: 5.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.5574, allocations: 326.8 kB / 0.6158 GB, free: 5.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5574, allocations: 4 kB / 0.6158 GB, free: 5.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003003/0.5604, allocations: 1.061 MB / 0.6168 GB, free: 4.367 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00491/0.5653, allocations: 2.424 MB / 0.6192 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.5666, allocations: 0.6837 MB / 0.6199 GB, free: 1.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5666, allocations: 3.938 kB / 0.6199 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.5672, allocations: 429.8 kB / 0.6203 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.5688, allocations: 308.4 kB / 0.6206 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/0.5758, allocations: 4.061 MB / 0.6245 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.5763, allocations: 0.9831 MB / 0.6255 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007357/0.5771, allocations: 385.8 kB / 0.6259 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.5775, allocations: 303.3 kB / 0.6262 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.5775, allocations: 0 / 0.6262 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3281/0.9056, allocations: 45.43 MB / 0.6705 GB, free: 152 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.9058, allocations: 184.4 kB / 0.6707 GB, free: 151.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.241/5.147, allocations: 0 / 0.6707 GB, free: 151.7 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestJoin_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestJoin.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) Environment - environmentSimulation: