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.001169/0.001169, allocations: 99.72 kB / 16.3 MB, free: 5.555 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.001273/0.001273, allocations: 183.1 kB / 17.2 MB, free: 5.488 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.409/1.409, allocations: 205.4 MB / 223.3 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3643/0.3643, allocations: 48.77 MB / 320.4 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.0005695/0.0005697, allocations: 13.88 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 60.27 MB / 451.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3717/0.5148, allocations: 89.87 MB / 0.5286 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.5275, allocations: 10.16 MB / 0.5385 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.5283, allocations: 25.56 kB / 0.5385 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.5298, allocations: 464.8 kB / 0.539 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.5313, allocations: 0.5496 MB / 0.5395 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.5472, allocations: 4.453 MB / 0.5438 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.5495, allocations: 0.9787 MB / 0.5448 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.5507, allocations: 0.5175 MB / 0.5453 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.5517, allocations: 495.2 kB / 0.5458 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.5523, allocations: 425.5 kB / 0.5462 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.5524, allocations: 41.03 kB / 0.5462 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01702/0.5695, allocations: 6.259 MB / 0.5523 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.5699, allocations: 122.9 kB / 0.5525 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.5705, allocations: 181.3 kB / 0.5526 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007364/0.5779, allocations: 2.84 MB / 0.5554 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5779, allocations: 0 / 0.5554 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.578, allocations: 4.719 kB / 0.5554 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.578, allocations: 0 / 0.5554 GB, free: 11.25 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.004665/0.5826, allocations: 1.414 MB / 0.5568 GB, free: 10.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5827, allocations: 10.72 kB / 0.5568 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000294/0.583, allocations: 110.4 kB / 0.5569 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.5836, allocations: 460.6 kB / 0.5573 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.5836, allocations: 45.81 kB / 0.5574 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/0.5837, allocations: 63.44 kB / 0.5574 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.5852, allocations: 0.803 MB / 0.5582 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5852, allocations: 5 kB / 0.5582 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.5853, allocations: 29.62 kB / 0.5583 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5853, allocations: 19.06 kB / 0.5583 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.5866, allocations: 0.5998 MB / 0.5589 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.5898, allocations: 4.387 MB / 0.5632 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.5911, allocations: 0.4956 MB / 0.5636 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06205/0.6532, allocations: 32.3 MB / 0.5952 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.6533, allocations: 38.44 kB / 0.5952 GB, free: 13.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.6533, allocations: 0 / 0.5952 GB, free: 13.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002281/0.6556, allocations: 0.7157 MB / 0.5959 GB, free: 13.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.6557, allocations: 87.16 kB / 0.596 GB, free: 13.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.6562, allocations: 472.2 kB / 0.5964 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.6563, allocations: 33.58 kB / 0.5965 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.6565, allocations: 338.3 kB / 0.5968 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.6566, allocations: 111.9 kB / 0.5969 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.6567, allocations: 5 kB / 0.5969 GB, free: 13.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6569, allocations: 364.7 kB / 0.5973 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.6572, allocations: 138.5 kB / 0.5974 GB, free: 12.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.6576, allocations: 214.8 kB / 0.5976 GB, free: 12.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.658, allocations: 152.7 kB / 0.5977 GB, free: 12.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.658, allocations: 0 / 0.5977 GB, free: 12.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009422/0.6589, allocations: 444.8 kB / 0.5982 GB, free: 12.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003514/0.6593, allocations: 0.8763 MB / 0.599 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6593, allocations: 0 / 0.599 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.6593, allocations: 8 kB / 0.599 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.6598, allocations: 89.09 kB / 0.5991 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.6598, allocations: 15.3 kB / 0.5991 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.6604, allocations: 87.92 kB / 0.5992 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.6605, allocations: 14.19 kB / 0.5992 GB, free: 11.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.6605, allocations: 4 kB / 0.5992 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005591/0.6611, allocations: 309.4 kB / 0.5995 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6611, allocations: 3.953 kB / 0.5995 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-06/0.6611, allocations: 8.25 kB / 0.5995 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.6614, allocations: 93.09 kB / 0.5996 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6614, allocations: 4 kB / 0.5996 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.6619, allocations: 78.05 kB / 0.5997 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.6619, allocations: 17.98 kB / 0.5997 GB, free: 10.64 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003153/0.6623, allocations: 261.5 kB / 0.6 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6624, allocations: 59.33 kB / 0.6 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.6643, allocations: 1.578 MB / 0.6016 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/0.6643, allocations: 23.09 kB / 0.6016 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6643, allocations: 0 / 0.6016 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6643, allocations: 4 kB / 0.6016 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.6656, allocations: 0.9812 MB / 0.6026 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6656, allocations: 8 kB / 0.6026 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.666, allocations: 68.3 kB / 0.6026 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.666, allocations: 4 kB / 0.6026 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.666, allocations: 14.23 kB / 0.6026 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.666, allocations: 0 / 0.6026 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.666, allocations: 0 / 0.6026 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.6673, allocations: 1.011 MB / 0.6036 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.6676, allocations: 198.7 kB / 0.6038 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.6677, allocations: 2.75 kB / 0.6038 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.6681, allocations: 66.88 kB / 0.6039 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.6682, allocations: 40.89 kB / 0.6039 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.6683, allocations: 13.09 kB / 0.6039 GB, free: 7.473 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003474/0.6686, allocations: 323.3 kB / 0.6042 GB, free: 7.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6686, allocations: 7.938 kB / 0.6043 GB, free: 7.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00442/0.6731, allocations: 1.059 MB / 0.6053 GB, free: 6.199 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006313/0.6794, allocations: 0.9759 MB / 0.6062 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.6809, allocations: 0.6817 MB / 0.6069 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6809, allocations: 0 / 0.6069 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.6815, allocations: 420.9 kB / 0.6073 GB, free: 4.629 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6833, allocations: 310.3 kB / 0.6076 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.6864, allocations: 1.93 MB / 0.6095 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.687, allocations: 1.003 MB / 0.6105 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007815/0.6878, allocations: 388.2 kB / 0.6108 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.688, allocations: 50.86 kB / 0.6109 GB, free: 1.191 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.688, allocations: 0 / 0.6109 GB, free: 1.191 MB / 446.1 MB Notification: Performance of Templates: time 0.05104/0.7391, allocations: 38.13 MB / 0.6481 GB, free: 11.2 MB / 494.1 MB 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: