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: translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 113.7 kB / 17.69 MB, free: 5.309 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.001613/0.001613, allocations: 191 kB / 18.63 MB, free: 4.375 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.369/1.369, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2612/0.2612, allocations: 48.85 MB / 320.7 MB, free: 11.05 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.09 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08371/0.08521, allocations: 59.15 MB / 450.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2796/0.3648, allocations: 107.3 MB / 0.5449 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.3787, allocations: 11.57 MB / 0.5562 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.38, allocations: 19.19 kB / 0.5562 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.3819, allocations: 0.5568 MB / 0.5568 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.3833, allocations: 0.6221 MB / 0.5574 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01533/0.3986, allocations: 5.644 MB / 0.5629 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.4007, allocations: 1.654 MB / 0.5645 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000868/0.4016, allocations: 0.6396 MB / 0.5651 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009205/0.4025, allocations: 0.6421 MB / 0.5658 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.4031, allocations: 0.6256 MB / 0.5664 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/0.4033, allocations: 65.41 kB / 0.5664 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/0.4156, allocations: 6.43 MB / 0.5727 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.4159, allocations: 161 kB / 0.5729 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007159/0.4166, allocations: 437.8 kB / 0.5733 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007585/0.4242, allocations: 4.297 MB / 0.5775 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4242, allocations: 0 / 0.5775 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4242, allocations: 0 / 0.5775 GB, free: 3.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.4243, allocations: 0 / 0.5775 GB, free: 3.145 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.003076/0.4273, allocations: 1.547 MB / 0.579 GB, free: 2.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4274, allocations: 13.83 kB / 0.579 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.4277, allocations: 107 kB / 0.5791 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.4283, allocations: 0.4885 MB / 0.5796 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.4283, allocations: 45.12 kB / 0.5796 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.4284, allocations: 60.53 kB / 0.5797 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.4298, allocations: 0.8132 MB / 0.5805 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4298, allocations: 7.031 kB / 0.5805 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.4298, allocations: 25.09 kB / 0.5805 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4299, allocations: 19.62 kB / 0.5805 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.4311, allocations: 0.5867 MB / 0.5811 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.4345, allocations: 4.4 MB / 0.5854 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.4358, allocations: 498.4 kB / 0.5859 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.4361, allocations: 177.4 kB / 0.586 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05868/0.4948, allocations: 32.11 MB / 0.6174 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.4949, allocations: 38.19 kB / 0.6174 GB, free: 14.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 4.368e-06/0.4949, allocations: 4 kB / 0.6174 GB, free: 14.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002345/0.4973, allocations: 0.7071 MB / 0.6181 GB, free: 13.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.4973, allocations: 77.11 kB / 0.6182 GB, free: 13.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.4978, allocations: 473 kB / 0.6187 GB, free: 13.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4979, allocations: 29.7 kB / 0.6187 GB, free: 13.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.4981, allocations: 338.6 kB / 0.619 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4982, allocations: 113 kB / 0.6191 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.4984, allocations: 73.92 kB / 0.6192 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4986, allocations: 370.7 kB / 0.6195 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.4989, allocations: 130.1 kB / 0.6197 GB, free: 12.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.4993, allocations: 201.8 kB / 0.6199 GB, free: 12.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.5, allocations: 328.6 kB / 0.6202 GB, free: 11.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5, allocations: 4 kB / 0.6202 GB, free: 11.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008701/0.5009, allocations: 436.6 kB / 0.6206 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5009, allocations: 8 kB / 0.6206 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5009, allocations: 0 / 0.6206 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5009, allocations: 7.938 kB / 0.6206 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.5013, allocations: 92.12 kB / 0.6207 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.5014, allocations: 4 kB / 0.6207 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.5017, allocations: 43.58 kB / 0.6207 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.5017, allocations: 19.98 kB / 0.6208 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003379/0.5021, allocations: 220.7 kB / 0.621 GB, free: 10.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002458/0.5023, allocations: 187.3 kB / 0.6212 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004595/0.5028, allocations: 305.6 kB / 0.6214 GB, free: 10.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.5028, allocations: 0 / 0.6214 GB, free: 10.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006362/0.5035, allocations: 376.6 kB / 0.6218 GB, free: 10.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.5035, allocations: 8 kB / 0.6218 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5035, allocations: 4 kB / 0.6218 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.5035, allocations: 4 kB / 0.6218 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.5038, allocations: 91.81 kB / 0.6219 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5038, allocations: 4 kB / 0.6219 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.5041, allocations: 39.86 kB / 0.6219 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.5041, allocations: 20 kB / 0.622 GB, free: 9.871 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.0001429/0.5042, allocations: 200.1 kB / 0.6222 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5043, allocations: 59.34 kB / 0.6222 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.5062, allocations: 1.561 MB / 0.6237 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.5062, allocations: 27.95 kB / 0.6238 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5062, allocations: 4 kB / 0.6238 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5062, allocations: 0 / 0.6238 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.5072, allocations: 0.976 MB / 0.6247 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5072, allocations: 0 / 0.6247 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.5076, allocations: 67.89 kB / 0.6248 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5076, allocations: 3.938 kB / 0.6248 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.5076, allocations: 11.94 kB / 0.6248 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.5076, allocations: 7.984 kB / 0.6248 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5077, allocations: 0 / 0.6248 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.5088, allocations: 0.9865 MB / 0.6258 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.5091, allocations: 197.6 kB / 0.626 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.5091, allocations: 10.44 kB / 0.626 GB, free: 5.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.5094, allocations: 19.98 kB / 0.626 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5096, allocations: 51.88 kB / 0.626 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.5096, allocations: 8 kB / 0.626 GB, free: 5.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.5099, allocations: 326.9 kB / 0.6264 GB, free: 5.285 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5099, allocations: 0 / 0.6264 GB, free: 5.285 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002899/0.5128, allocations: 1.057 MB / 0.6274 GB, free: 4.227 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.003214/0.516, allocations: 0.9882 MB / 0.6284 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.5173, allocations: 0.646 MB / 0.629 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5173, allocations: 4.062 kB / 0.629 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.5179, allocations: 422.2 kB / 0.6294 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.5195, allocations: 313.2 kB / 0.6297 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.5222, allocations: 1.58 MB / 0.6312 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.5227, allocations: 0.9829 MB / 0.6322 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000629/0.5233, allocations: 376.4 kB / 0.6326 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.5235, allocations: 59.42 kB / 0.6326 GB, free: 14.93 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5235, allocations: 0 / 0.6326 GB, free: 14.93 MB / 478.1 MB Notification: Performance of Templates: time 0.437/0.9605, allocations: 38.65 MB / 0.6703 GB, free: 8.27 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)