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.0007901/0.0007903, allocations: 90.62 kB / 16.65 MB, free: 6.586 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.0007916/0.0007916, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.376/1.376, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2652/0.2652, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0005308/0.0005308, allocations: 16.95 kB / 391.8 MB, free: 50.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 60.27 MB / 452.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3356/0.443, allocations: 106.7 MB / 0.5457 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.4579, allocations: 12.25 MB / 0.5577 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.4592, allocations: 24.19 kB / 0.5577 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.4609, allocations: 476.5 kB / 0.5581 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.4627, allocations: 0.5972 MB / 0.5587 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.4795, allocations: 4.624 MB / 0.5632 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003453/0.483, allocations: 2.557 MB / 0.5657 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.4841, allocations: 0.5237 MB / 0.5662 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.4857, allocations: 0.5654 MB / 0.5668 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009808/0.4867, allocations: 0.6363 MB / 0.5674 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.4868, allocations: 39.81 kB / 0.5674 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01225/0.499, allocations: 6.362 MB / 0.5737 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.4994, allocations: 131.8 kB / 0.5738 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008047/0.5002, allocations: 426.4 kB / 0.5742 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.5115, allocations: 4.271 MB / 0.5784 GB, free: 3.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5115, allocations: 0 / 0.5784 GB, free: 3.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5115, allocations: 2.094 kB / 0.5784 GB, free: 3.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.5115, allocations: 0 / 0.5784 GB, free: 3.129 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.003864/0.5154, allocations: 1.414 MB / 0.5797 GB, free: 2.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5155, allocations: 7.344 kB / 0.5798 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.5158, allocations: 111.5 kB / 0.5799 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.5163, allocations: 479 kB / 0.5803 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.5163, allocations: 45.34 kB / 0.5804 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/0.5164, allocations: 60.97 kB / 0.5804 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.5179, allocations: 0.8242 MB / 0.5812 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5179, allocations: 3.344 kB / 0.5812 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.518, allocations: 27.5 kB / 0.5813 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.518, allocations: 20.73 kB / 0.5813 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5193, allocations: 0.6071 MB / 0.5819 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.5228, allocations: 4.395 MB / 0.5862 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.5241, allocations: 0.489 MB / 0.5866 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.5245, allocations: 189.2 kB / 0.5868 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0642/0.5887, allocations: 32.29 MB / 0.6184 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.5888, allocations: 46.48 kB / 0.6184 GB, free: 15.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=32): time 2.825e-06/0.5888, allocations: 0 / 0.6184 GB, free: 15.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.002335/0.5912, allocations: 0.7247 MB / 0.6191 GB, free: 14.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.5912, allocations: 81.09 kB / 0.6192 GB, free: 14.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.5918, allocations: 474.7 kB / 0.6196 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.5918, allocations: 33.52 kB / 0.6197 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.592, allocations: 340.2 kB / 0.62 GB, free: 14.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.5921, allocations: 109.4 kB / 0.6201 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.5922, allocations: 37.45 kB / 0.6201 GB, free: 13.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5924, allocations: 366.2 kB / 0.6205 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.5927, allocations: 134.3 kB / 0.6206 GB, free: 13.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.5931, allocations: 212.4 kB / 0.6208 GB, free: 13.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.5938, allocations: 347.9 kB / 0.6211 GB, free: 12.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5938, allocations: 0 / 0.6211 GB, free: 12.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000894/0.5947, allocations: 444.1 kB / 0.6216 GB, free: 12.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.5948, allocations: 160.2 kB / 0.6217 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5948, allocations: 4 kB / 0.6217 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5949, allocations: 4 kB / 0.6217 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.5953, allocations: 88.94 kB / 0.6218 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5953, allocations: 4 kB / 0.6218 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.5958, allocations: 91.11 kB / 0.6219 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.5959, allocations: 19.92 kB / 0.6219 GB, free: 12.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.5959, allocations: 4 kB / 0.6219 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005705/0.5965, allocations: 305.8 kB / 0.6222 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.5965, allocations: 0 / 0.6222 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.5965, allocations: 6.438 kB / 0.6222 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.5968, allocations: 93.52 kB / 0.6223 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.5968, allocations: 4 kB / 0.6223 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.5971, allocations: 83.23 kB / 0.6224 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.5972, allocations: 19.36 kB / 0.6224 GB, free: 11.85 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.0002561/0.5974, allocations: 255.8 kB / 0.6227 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5975, allocations: 59.25 kB / 0.6227 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.5994, allocations: 1.586 MB / 0.6243 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.5994, allocations: 23.97 kB / 0.6243 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5994, allocations: 7.875 kB / 0.6243 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5995, allocations: 3.984 kB / 0.6243 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6006, allocations: 0.9801 MB / 0.6253 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.6006, allocations: 3.984 kB / 0.6253 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.6009, allocations: 71.95 kB / 0.6253 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6009, allocations: 4 kB / 0.6253 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.601, allocations: 4 kB / 0.6253 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.601, allocations: 11.88 kB / 0.6253 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.601, allocations: 3.938 kB / 0.6253 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.6022, allocations: 1.002 MB / 0.6263 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.6025, allocations: 191.8 kB / 0.6265 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.6025, allocations: 12.5 kB / 0.6265 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.603, allocations: 63.8 kB / 0.6266 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.6031, allocations: 43.88 kB / 0.6266 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.6031, allocations: 15.98 kB / 0.6266 GB, free: 7.965 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.6034, allocations: 318.9 kB / 0.6269 GB, free: 7.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6034, allocations: 0 / 0.6269 GB, free: 7.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003141/0.6066, allocations: 1.065 MB / 0.628 GB, free: 6.586 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.003977/0.6106, allocations: 0.9712 MB / 0.6289 GB, free: 5.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.6121, allocations: 0.6817 MB / 0.6296 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6121, allocations: 0 / 0.6296 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.6128, allocations: 428.9 kB / 0.63 GB, free: 4.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.6148, allocations: 310.5 kB / 0.6303 GB, free: 4.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.618, allocations: 2.018 MB / 0.6323 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.6187, allocations: 0.979 MB / 0.6332 GB, free: 1.234 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007967/0.6195, allocations: 383.7 kB / 0.6336 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.6197, allocations: 47.42 kB / 0.6336 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of SimCode: time 1.021e-06/0.6197, allocations: 0 / 0.6336 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of Templates: time 0.05309/0.6728, allocations: 37.84 MB / 0.6706 GB, free: 10.95 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: