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.001111/0.001111, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.001126/0.001126, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.124/1.124, allocations: 205.1 MB / 223.4 MB, free: 12.36 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2593/0.2593, allocations: 48.84 MB / 319.6 MB, free: 11.26 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.001367/0.001367, allocations: 67.67 kB / 389.7 MB, free: 48.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07303/0.07441, allocations: 59.16 MB / 448.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2407/0.3151, allocations: 107.4 MB / 0.5432 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.3256, allocations: 11.76 MB / 0.5547 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006903/0.3264, allocations: 27.41 kB / 0.5547 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.3275, allocations: 491.8 kB / 0.5552 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.3283, allocations: 0.579 MB / 0.5557 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.3393, allocations: 5.032 MB / 0.5607 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.3409, allocations: 1.661 MB / 0.5623 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.3415, allocations: 0.6157 MB / 0.5629 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.3422, allocations: 0.6504 MB / 0.5635 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.3428, allocations: 0.6483 MB / 0.5641 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.3429, allocations: 66.16 kB / 0.5642 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008433/0.3514, allocations: 6.355 MB / 0.5704 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3515, allocations: 155.6 kB / 0.5706 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.352, allocations: 432.9 kB / 0.571 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.3577, allocations: 4.314 MB / 0.5752 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3577, allocations: 0 / 0.5752 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3577, allocations: 0 / 0.5752 GB, free: 2.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3577, allocations: 2.875 kB / 0.5752 GB, free: 2.828 MB / 414.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.002654/0.3604, allocations: 1.542 MB / 0.5767 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3604, allocations: 12.17 kB / 0.5767 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.417e-05/0.3605, allocations: 116 kB / 0.5768 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.3608, allocations: 103.6 kB / 0.5769 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.3612, allocations: 480.3 kB / 0.5774 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3612, allocations: 47.88 kB / 0.5774 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.3613, allocations: 61.44 kB / 0.5775 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.3626, allocations: 0.8162 MB / 0.5783 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3626, allocations: 3.938 kB / 0.5783 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.3627, allocations: 26.06 kB / 0.5783 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.3627, allocations: 17.16 kB / 0.5783 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3639, allocations: 0.5822 MB / 0.5789 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.3668, allocations: 4.393 MB / 0.5832 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3679, allocations: 499.1 kB / 0.5837 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.3683, allocations: 181.1 kB / 0.5838 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05365/0.4219, allocations: 31.98 MB / 0.6151 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.422, allocations: 38.19 kB / 0.6151 GB, free: 14.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.422, allocations: 0 / 0.6151 GB, free: 14.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002018/0.424, allocations: 0.705 MB / 0.6158 GB, free: 13.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4241, allocations: 81.11 kB / 0.6159 GB, free: 13.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.4245, allocations: 467.7 kB / 0.6163 GB, free: 13.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.4245, allocations: 37.2 kB / 0.6163 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4247, allocations: 333.2 kB / 0.6167 GB, free: 12.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.4248, allocations: 112.2 kB / 0.6168 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4249, allocations: 71.78 kB / 0.6168 GB, free: 12.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.425, allocations: 363.7 kB / 0.6172 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.4253, allocations: 137.5 kB / 0.6173 GB, free: 12.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.4257, allocations: 210.1 kB / 0.6175 GB, free: 12.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/0.4263, allocations: 326.6 kB / 0.6178 GB, free: 11.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4263, allocations: 3.938 kB / 0.6178 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007999/0.4271, allocations: 428.8 kB / 0.6182 GB, free: 11.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4271, allocations: 8 kB / 0.6183 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4271, allocations: 3.938 kB / 0.6183 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4272, allocations: 7.938 kB / 0.6183 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.4276, allocations: 86.25 kB / 0.6183 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4276, allocations: 4 kB / 0.6183 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.428, allocations: 87.05 kB / 0.6184 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.4281, allocations: 17.55 kB / 0.6184 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002976/0.4284, allocations: 222.9 kB / 0.6187 GB, free: 11.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002237/0.4286, allocations: 184.4 kB / 0.6188 GB, free: 10.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004206/0.429, allocations: 304.4 kB / 0.6191 GB, free: 10.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.429, allocations: 4 kB / 0.6191 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000574/0.4296, allocations: 372.6 kB / 0.6195 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.4296, allocations: 4.344 kB / 0.6195 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.4296, allocations: 8 kB / 0.6195 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.4297, allocations: 7.938 kB / 0.6195 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.4299, allocations: 87.88 kB / 0.6196 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4299, allocations: 4 kB / 0.6196 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.4302, allocations: 67.7 kB / 0.6197 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4303, allocations: 12.88 kB / 0.6197 GB, free: 10.1 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.4304, allocations: 216.1 kB / 0.6199 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.4305, allocations: 55.34 kB / 0.6199 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.4321, allocations: 1.58 MB / 0.6215 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.4322, allocations: 19.97 kB / 0.6215 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4322, allocations: 4 kB / 0.6215 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4322, allocations: 0 / 0.6215 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/0.4331, allocations: 0.9763 MB / 0.6224 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4331, allocations: 5.688 kB / 0.6225 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.4334, allocations: 63.89 kB / 0.6225 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4334, allocations: 4 kB / 0.6225 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.4335, allocations: 15.92 kB / 0.6225 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4335, allocations: 4 kB / 0.6225 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4335, allocations: 0 / 0.6225 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4346, allocations: 0.9826 MB / 0.6235 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.4347, allocations: 195.8 kB / 0.6237 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.4348, allocations: 11.94 kB / 0.6237 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.4352, allocations: 65.61 kB / 0.6238 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4353, allocations: 39.95 kB / 0.6238 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.4353, allocations: 11.98 kB / 0.6238 GB, free: 5.777 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.4356, allocations: 326.9 kB / 0.6241 GB, free: 5.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.4356, allocations: 0 / 0.6241 GB, free: 5.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002417/0.4381, allocations: 1.065 MB / 0.6252 GB, free: 4.391 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004572/0.4426, allocations: 2.418 MB / 0.6275 GB, free: 2.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.4439, allocations: 0.6777 MB / 0.6282 GB, free: 1.355 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4439, allocations: 4.062 kB / 0.6282 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.4444, allocations: 418.1 kB / 0.6286 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.4459, allocations: 317.3 kB / 0.6289 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.4529, allocations: 5.602 MB / 0.6344 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.4533, allocations: 0.9807 MB / 0.6353 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006388/0.454, allocations: 387.7 kB / 0.6357 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.4543, allocations: 311.3 kB / 0.636 GB, free: 9.219 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4543, allocations: 0 / 0.636 GB, free: 9.219 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05834/0.5127, allocations: 45.84 MB / 0.6808 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.5129, allocations: 184.1 kB / 0.6809 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/4.209, allocations: 0 / 0.6809 GB, free: 11.04 MB / 0.5137 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/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)