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.001067/0.001067, allocations: 105.2 kB / 17.05 MB, free: 6.027 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.001112/0.001112, allocations: 196 kB / 18 MB, free: 5.105 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.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2654/0.2654, 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.001488/0.001488, allocations: 72.33 kB / 450 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 59.16 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2944/0.3997, allocations: 107.3 MB / 0.6021 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.4129, allocations: 11.55 MB / 0.6134 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009121/0.4139, allocations: 21.22 kB / 0.6134 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.4154, allocations: 0.5661 MB / 0.6139 GB, free: 1.902 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.4167, allocations: 0.6135 MB / 0.6145 GB, free: 1.387 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01373/0.4304, allocations: 5.655 MB / 0.6201 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.4327, allocations: 1.654 MB / 0.6217 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009222/0.4337, allocations: 0.6338 MB / 0.6223 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000932/0.4346, allocations: 0.65 MB / 0.6229 GB, free: 9.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.4354, allocations: 0.6302 MB / 0.6235 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.721e-05/0.4355, allocations: 64 kB / 0.6236 GB, free: 8.906 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.4475, allocations: 6.431 MB / 0.6299 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.4478, allocations: 163.4 kB / 0.63 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005343/0.4484, allocations: 422 kB / 0.6304 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007867/0.4562, allocations: 4.307 MB / 0.6346 GB, free: 13.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4563, allocations: 0 / 0.6346 GB, free: 13.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4563, allocations: 4 kB / 0.6346 GB, free: 13.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4563, allocations: 4 kB / 0.6347 GB, free: 13.57 MB / 494.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.003593/0.4599, allocations: 1.536 MB / 0.6362 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.46, allocations: 11.89 kB / 0.6362 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.4601, allocations: 110.7 kB / 0.6363 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.4604, allocations: 104 kB / 0.6364 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.4611, allocations: 497.4 kB / 0.6368 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.4611, allocations: 45.69 kB / 0.6369 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.579e-05/0.4612, allocations: 72.36 kB / 0.637 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.4628, allocations: 0.8101 MB / 0.6377 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4628, allocations: 0 / 0.6377 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.4629, allocations: 28 kB / 0.6378 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.4629, allocations: 16 kB / 0.6378 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.4643, allocations: 0.5866 MB / 0.6384 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.4683, allocations: 4.393 MB / 0.6427 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.4697, allocations: 0.4889 MB / 0.6431 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.4701, allocations: 177.6 kB / 0.6433 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06189/0.532, allocations: 32.12 MB / 0.6747 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.5321, allocations: 42.5 kB / 0.6747 GB, free: 84 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.5321, allocations: 0 / 0.6747 GB, free: 84 kB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002249/0.5343, allocations: 0.6983 MB / 0.6754 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.5344, allocations: 85.11 kB / 0.6755 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.5349, allocations: 471 kB / 0.6759 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.535, allocations: 33.7 kB / 0.676 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.5352, allocations: 331.7 kB / 0.6763 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.5353, allocations: 114.3 kB / 0.6764 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.5355, allocations: 69.92 kB / 0.6764 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5356, allocations: 366.8 kB / 0.6768 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.5359, allocations: 138.1 kB / 0.6769 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.5363, allocations: 205.7 kB / 0.6771 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.537, allocations: 337 kB / 0.6774 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.537, allocations: 0 / 0.6774 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008883/0.5379, allocations: 424.8 kB / 0.6778 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5379, allocations: 15.84 kB / 0.6779 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5379, allocations: 3.938 kB / 0.6779 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.538, allocations: 4 kB / 0.6779 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.5384, allocations: 87.88 kB / 0.678 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.5384, allocations: 11.92 kB / 0.678 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.5388, allocations: 43.58 kB / 0.678 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.5388, allocations: 19.98 kB / 0.678 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003526/0.5392, allocations: 229.5 kB / 0.6782 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002672/0.5395, allocations: 183.4 kB / 0.6784 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004807/0.5399, allocations: 298.9 kB / 0.6787 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.54, allocations: 0 / 0.6787 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006842/0.5407, allocations: 380.9 kB / 0.6791 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5407, allocations: 4 kB / 0.6791 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5407, allocations: 4 kB / 0.6791 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.5407, allocations: 11.92 kB / 0.6791 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.541, allocations: 92.17 kB / 0.6792 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.541, allocations: 4 kB / 0.6792 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.5413, allocations: 35.67 kB / 0.6792 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.5414, allocations: 19.98 kB / 0.6792 GB, free: 11.23 MB / 0.5294 GB 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.0001738/0.5415, allocations: 208.2 kB / 0.6794 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5417, allocations: 55.34 kB / 0.6795 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.5437, allocations: 1.566 MB / 0.681 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/0.5437, allocations: 23.97 kB / 0.681 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.5437, allocations: 0 / 0.681 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.5437, allocations: 3.984 kB / 0.681 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.5449, allocations: 0.9752 MB / 0.682 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.5449, allocations: 0 / 0.682 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.5453, allocations: 72.75 kB / 0.6821 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.5453, allocations: 4 kB / 0.6821 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.5454, allocations: 11.94 kB / 0.6821 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5454, allocations: 4 kB / 0.6821 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5454, allocations: 0 / 0.6821 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.5469, allocations: 0.9844 MB / 0.683 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.5472, allocations: 195.8 kB / 0.6832 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5473, allocations: 13.25 kB / 0.6832 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.5477, allocations: 19.97 kB / 0.6833 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.5478, allocations: 43.91 kB / 0.6833 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.5478, allocations: 8 kB / 0.6833 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004315/0.5483, allocations: 326.9 kB / 0.6836 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5483, allocations: 0 / 0.6836 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003803/0.5521, allocations: 1.061 MB / 0.6847 GB, free: 5.574 MB / 0.5294 GB 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.007244/0.5594, allocations: 2.43 MB / 0.687 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.5608, allocations: 0.6455 MB / 0.6877 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5608, allocations: 0 / 0.6877 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.5614, allocations: 420.9 kB / 0.6881 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.563, allocations: 309.3 kB / 0.6884 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/0.571, allocations: 5.125 MB / 0.6934 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.5715, allocations: 0.979 MB / 0.6943 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006488/0.5721, allocations: 383.7 kB / 0.6947 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.5725, allocations: 307.3 kB / 0.695 GB, free: 10.81 MB / 0.545 GB Notification: Performance of SimCode: time 6.42e-07/0.5726, allocations: 0 / 0.695 GB, free: 10.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07911/0.6517, allocations: 46.67 MB / 0.7405 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.74, allocations: 12.06 kB / 0.7406 GB, free: 12 MB / 0.5919 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)