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.00111/0.00111, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001109/0.001109, allocations: 186.5 kB / 17.42 MB, free: 6.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.067/1.067, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2077/0.2077, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001246/0.001246, allocations: 65.95 kB / 389.5 MB, free: 48.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06693/0.06818, allocations: 59.17 MB / 448.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2258/0.294, allocations: 108.4 MB / 0.544 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3045, allocations: 12.44 MB / 0.5561 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.3052, allocations: 26.06 kB / 0.5562 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3063, allocations: 476.8 kB / 0.5566 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007435/0.307, allocations: 0.5992 MB / 0.5572 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009708/0.3167, allocations: 4.616 MB / 0.5617 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.3185, allocations: 2.56 MB / 0.5642 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.3192, allocations: 0.546 MB / 0.5648 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006341/0.3199, allocations: 0.5769 MB / 0.5653 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.3204, allocations: 0.6567 MB / 0.566 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.3204, allocations: 48.25 kB / 0.566 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008048/0.3285, allocations: 6.369 MB / 0.5722 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.3286, allocations: 138.9 kB / 0.5724 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.3289, allocations: 419.6 kB / 0.5728 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.3327, allocations: 4.302 MB / 0.577 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3327, allocations: 1.406 kB / 0.577 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3327, allocations: 0 / 0.577 GB, free: 2.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3327, allocations: 0 / 0.577 GB, free: 2.91 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.002486/0.3352, allocations: 1.543 MB / 0.5785 GB, free: 1.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3352, allocations: 10.16 kB / 0.5785 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.655e-05/0.3353, allocations: 108.8 kB / 0.5786 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3356, allocations: 107.7 kB / 0.5787 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.3359, allocations: 483.2 kB / 0.5791 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.336, allocations: 49.97 kB / 0.5792 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.336, allocations: 60.22 kB / 0.5792 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.3373, allocations: 0.8133 MB / 0.58 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3373, allocations: 0 / 0.58 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.3374, allocations: 28.72 kB / 0.5801 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3374, allocations: 17.97 kB / 0.5801 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3385, allocations: 0.5848 MB / 0.5807 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.3413, allocations: 4.389 MB / 0.5849 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.3425, allocations: 490.3 kB / 0.5854 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.3428, allocations: 181.5 kB / 0.5856 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05056/0.3934, allocations: 31.98 MB / 0.6168 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3934, allocations: 40.88 kB / 0.6169 GB, free: 13.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.3934, allocations: 0 / 0.6169 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.001915/0.3953, allocations: 0.6957 MB / 0.6175 GB, free: 13.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.3954, allocations: 91.22 kB / 0.6176 GB, free: 13.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.3958, allocations: 473.2 kB / 0.6181 GB, free: 12.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.3958, allocations: 29.02 kB / 0.6181 GB, free: 12.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.396, allocations: 335.9 kB / 0.6184 GB, free: 12.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.3961, allocations: 116.7 kB / 0.6185 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3962, allocations: 73.92 kB / 0.6186 GB, free: 12.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3963, allocations: 366.8 kB / 0.619 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.3966, allocations: 130.1 kB / 0.6191 GB, free: 11.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3969, allocations: 201.8 kB / 0.6193 GB, free: 11.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.3976, allocations: 334.8 kB / 0.6196 GB, free: 11.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3976, allocations: 0 / 0.6196 GB, free: 11.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007804/0.3983, allocations: 428.6 kB / 0.62 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3984, allocations: 7.984 kB / 0.62 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3984, allocations: 7.938 kB / 0.62 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3984, allocations: 4 kB / 0.62 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.3988, allocations: 93.06 kB / 0.6201 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3988, allocations: 4 kB / 0.6201 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.3992, allocations: 83.42 kB / 0.6202 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3993, allocations: 19.98 kB / 0.6202 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003014/0.3996, allocations: 220.8 kB / 0.6204 GB, free: 10.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002174/0.3998, allocations: 187 kB / 0.6206 GB, free: 10.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004298/0.4002, allocations: 307.2 kB / 0.6209 GB, free: 9.809 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.4003, allocations: 4 kB / 0.6209 GB, free: 9.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005589/0.4008, allocations: 372.6 kB / 0.6213 GB, free: 9.434 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.4008, allocations: 8 kB / 0.6213 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.4008, allocations: 0 / 0.6213 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.4008, allocations: 11.94 kB / 0.6213 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.4011, allocations: 85.62 kB / 0.6214 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.4011, allocations: 7.938 kB / 0.6214 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.4014, allocations: 67.95 kB / 0.6214 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.4014, allocations: 16 kB / 0.6214 GB, free: 9.242 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.0001089/0.4016, allocations: 200.2 kB / 0.6216 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.4017, allocations: 55.34 kB / 0.6217 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.4032, allocations: 1.58 MB / 0.6232 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.4033, allocations: 27.95 kB / 0.6233 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4033, allocations: 0 / 0.6233 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4033, allocations: 3.938 kB / 0.6233 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/0.4042, allocations: 0.9763 MB / 0.6242 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4042, allocations: 0 / 0.6242 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.4045, allocations: 71.89 kB / 0.6243 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4045, allocations: 0 / 0.6243 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.4045, allocations: 15.92 kB / 0.6243 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4045, allocations: 1.938 kB / 0.6243 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4046, allocations: 4 kB / 0.6243 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4056, allocations: 0.9904 MB / 0.6253 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4058, allocations: 191.7 kB / 0.6255 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.4058, allocations: 11.94 kB / 0.6255 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.4062, allocations: 59.84 kB / 0.6255 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.4063, allocations: 39.94 kB / 0.6256 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4063, allocations: 12 kB / 0.6256 GB, free: 4.922 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.4066, allocations: 322.9 kB / 0.6259 GB, free: 4.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4066, allocations: 0 / 0.6259 GB, free: 4.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002093/0.4087, allocations: 1.069 MB / 0.6269 GB, free: 3.535 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.00393/0.4127, allocations: 2.415 MB / 0.6293 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.4137, allocations: 0.6528 MB / 0.6299 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4137, allocations: 0 / 0.6299 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.4142, allocations: 421.5 kB / 0.6303 GB, free: 116 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.4157, allocations: 307.2 kB / 0.6306 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/0.4222, allocations: 5.62 MB / 0.6361 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4226, allocations: 0.9751 MB / 0.6371 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005885/0.4232, allocations: 383.8 kB / 0.6374 GB, free: 8.703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.4235, allocations: 299.3 kB / 0.6377 GB, free: 8.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4236, allocations: 0 / 0.6377 GB, free: 8.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.383/5.807, allocations: 45.29 MB / 0.6819 GB, free: 11 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/5.807, allocations: 195.8 kB / 0.6821 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.157/9.964, allocations: 0 / 0.6821 GB, free: 10.74 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)