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.001173/0.001173, allocations: 106.7 kB / 17.06 MB, free: 6.105 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.001197/0.001198, allocations: 196 kB / 18 MB, free: 5.184 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.383/1.383, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2828/0.2828, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.001668/0.001668, allocations: 71.91 kB / 450.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1333, allocations: 59.16 MB / 0.4978 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.435/0.5683, allocations: 107.3 MB / 0.6026 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.5841, allocations: 11.56 MB / 0.6138 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.5855, allocations: 24.09 kB / 0.6139 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.5874, allocations: 0.5555 MB / 0.6144 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.589, allocations: 0.6225 MB / 0.615 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01763/0.6066, allocations: 5.652 MB / 0.6205 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.6097, allocations: 1.654 MB / 0.6222 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.611, allocations: 0.6337 MB / 0.6228 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.6124, allocations: 0.6461 MB / 0.6234 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.6133, allocations: 0.6263 MB / 0.624 GB, free: 8.695 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.6134, allocations: 68 kB / 0.6241 GB, free: 8.629 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/0.6284, allocations: 6.436 MB / 0.6304 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.6288, allocations: 163.4 kB / 0.6305 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007464/0.6296, allocations: 430 kB / 0.6309 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.6405, allocations: 4.303 MB / 0.6351 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6405, allocations: 4 kB / 0.6351 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6405, allocations: 0 / 0.6351 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.116e-05/0.6406, allocations: 0 / 0.6351 GB, free: 13.29 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.004741/0.6453, allocations: 1.532 MB / 0.6366 GB, free: 11.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.6454, allocations: 19.88 kB / 0.6367 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.6458, allocations: 104 kB / 0.6368 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009364/0.6467, allocations: 0.4896 MB / 0.6372 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.6468, allocations: 49.69 kB / 0.6373 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.6469, allocations: 60.56 kB / 0.6373 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.6487, allocations: 0.8179 MB / 0.6381 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6488, allocations: 4 kB / 0.6381 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.6488, allocations: 24 kB / 0.6382 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.6489, allocations: 17.88 kB / 0.6382 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.6505, allocations: 0.5866 MB / 0.6388 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.6553, allocations: 4.393 MB / 0.643 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6568, allocations: 488.8 kB / 0.6435 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.6572, allocations: 181.6 kB / 0.6437 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06879/0.726, allocations: 32.13 MB / 0.6751 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.7261, allocations: 38.5 kB / 0.6751 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/0.7261, allocations: 0 / 0.6751 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.002499/0.7286, allocations: 0.7022 MB / 0.6758 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.7287, allocations: 85.11 kB / 0.6759 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.7293, allocations: 475 kB / 0.6763 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.7293, allocations: 29.7 kB / 0.6763 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.7296, allocations: 331.7 kB / 0.6767 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.7297, allocations: 118.3 kB / 0.6768 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.7299, allocations: 73.92 kB / 0.6768 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7301, allocations: 362.8 kB / 0.6772 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.7304, allocations: 130.1 kB / 0.6773 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.7308, allocations: 201.8 kB / 0.6775 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.7315, allocations: 342.1 kB / 0.6778 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7316, allocations: 0 / 0.6778 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009321/0.7325, allocations: 424.7 kB / 0.6782 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7325, allocations: 4 kB / 0.6782 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.7325, allocations: 4 kB / 0.6782 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.7326, allocations: 11.88 kB / 0.6782 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.733, allocations: 87.88 kB / 0.6783 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.733, allocations: 11.92 kB / 0.6783 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.7334, allocations: 44.83 kB / 0.6784 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.7334, allocations: 12 kB / 0.6784 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003681/0.7338, allocations: 228.8 kB / 0.6786 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002563/0.7341, allocations: 183.4 kB / 0.6788 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005045/0.7346, allocations: 306.9 kB / 0.6791 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.7346, allocations: 0 / 0.6791 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007184/0.7353, allocations: 380.9 kB / 0.6794 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.7354, allocations: 11.91 kB / 0.6795 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.7354, allocations: 0 / 0.6795 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.7354, allocations: 8 kB / 0.6795 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.7357, allocations: 92.11 kB / 0.6796 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7357, allocations: 4 kB / 0.6796 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.736, allocations: 31.73 kB / 0.6796 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.736, allocations: 16 kB / 0.6796 GB, free: 11.07 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.0001549/0.7362, allocations: 208.2 kB / 0.6798 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.7363, allocations: 55.34 kB / 0.6799 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.7382, allocations: 1.574 MB / 0.6814 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.7382, allocations: 16.84 kB / 0.6814 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.7383, allocations: 4 kB / 0.6814 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.7383, allocations: 3.984 kB / 0.6814 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.7394, allocations: 0.9752 MB / 0.6824 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.7394, allocations: 4 kB / 0.6824 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.7398, allocations: 63.89 kB / 0.6824 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.7398, allocations: 10.42 kB / 0.6824 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.7398, allocations: 11.94 kB / 0.6825 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.7398, allocations: 0 / 0.6825 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7398, allocations: 0 / 0.6825 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.7412, allocations: 0.9923 MB / 0.6834 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.7414, allocations: 199.7 kB / 0.6836 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.7415, allocations: 11.94 kB / 0.6836 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.7418, allocations: 19.97 kB / 0.6836 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.742, allocations: 39.91 kB / 0.6837 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.742, allocations: 12 kB / 0.6837 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003675/0.7424, allocations: 322.9 kB / 0.684 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7424, allocations: 4 kB / 0.684 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003159/0.7455, allocations: 1.069 MB / 0.685 GB, free: 5.395 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.004278/0.7498, allocations: 0.977 MB / 0.686 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.7512, allocations: 0.6488 MB / 0.6866 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7513, allocations: 0 / 0.6866 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.7519, allocations: 420.9 kB / 0.687 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.7537, allocations: 309 kB / 0.6873 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.7568, allocations: 1.582 MB / 0.6889 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.7574, allocations: 0.979 MB / 0.6898 GB, free: 436 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006816/0.7581, allocations: 387.7 kB / 0.6902 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.7583, allocations: 51.47 kB / 0.6903 GB, free: 15.99 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.7583, allocations: 0 / 0.6903 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Templates: time 0.05853/0.8168, allocations: 38.97 MB / 0.7283 GB, free: 8.953 MB / 0.5762 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)