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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001692/0.001692, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 110.3 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3857/0.3857, allocations: 48.83 MB / 366.7 MB, free: 46.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 55.92 kB / 436.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.104, allocations: 59.15 MB / 495.8 MB, free: 132 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2577/0.3617, allocations: 108.5 MB / 0.59 GB, free: 3.129 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.3769, allocations: 12.43 MB / 0.6022 GB, free: 9.273 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.378, allocations: 28.44 kB / 0.6022 GB, free: 9.262 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.3795, allocations: 469.6 kB / 0.6027 GB, free: 8.875 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.3807, allocations: 0.5959 MB / 0.6032 GB, free: 8.383 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01256/0.3932, allocations: 4.635 MB / 0.6078 GB, free: 4.637 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.396, allocations: 2.57 MB / 0.6103 GB, free: 2.059 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008396/0.3969, allocations: 0.5421 MB / 0.6108 GB, free: 1.508 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/0.3977, allocations: 0.5835 MB / 0.6114 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.3984, allocations: 0.6496 MB / 0.612 GB, free: 276 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.3985, allocations: 52 kB / 0.6121 GB, free: 224 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.4094, allocations: 6.38 MB / 0.6183 GB, free: 9.832 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.4097, allocations: 139.4 kB / 0.6184 GB, free: 9.695 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006541/0.4104, allocations: 410 kB / 0.6188 GB, free: 9.293 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009456/0.4199, allocations: 4.303 MB / 0.623 GB, free: 4.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4199, allocations: 0 / 0.623 GB, free: 4.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.4199, allocations: 0 / 0.623 GB, free: 4.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4199, allocations: 0 / 0.623 GB, free: 4.98 MB / 442.7 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.00355/0.4235, allocations: 1.536 MB / 0.6245 GB, free: 3.395 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4235, allocations: 16.02 kB / 0.6245 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.4238, allocations: 107.9 kB / 0.6246 GB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.4244, allocations: 481.4 kB / 0.6251 GB, free: 2.762 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.4245, allocations: 45.69 kB / 0.6251 GB, free: 2.719 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.4246, allocations: 60.56 kB / 0.6252 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.4261, allocations: 0.8218 MB / 0.626 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4261, allocations: 0 / 0.626 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.4262, allocations: 28 kB / 0.626 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.4262, allocations: 16 kB / 0.626 GB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.4276, allocations: 0.5827 MB / 0.6266 GB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/0.4314, allocations: 4.384 MB / 0.6309 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.4327, allocations: 492.8 kB / 0.6314 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.4331, allocations: 181.6 kB / 0.6315 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06438/0.4975, allocations: 31.98 MB / 0.6628 GB, free: 7.836 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.4976, allocations: 42.5 kB / 0.6628 GB, free: 7.785 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 2.956e-06/0.4976, allocations: 0 / 0.6628 GB, free: 7.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.00216/0.4997, allocations: 0.6956 MB / 0.6635 GB, free: 7.082 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4998, allocations: 89.05 kB / 0.6636 GB, free: 6.977 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.5003, allocations: 467 kB / 0.664 GB, free: 6.512 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.5003, allocations: 29.7 kB / 0.664 GB, free: 6.477 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.5005, allocations: 335.7 kB / 0.6644 GB, free: 6.141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5007, allocations: 110.4 kB / 0.6645 GB, free: 6.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.5008, allocations: 77.91 kB / 0.6645 GB, free: 5.949 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.501, allocations: 362.8 kB / 0.6649 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.5013, allocations: 138.1 kB / 0.665 GB, free: 5.449 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.5017, allocations: 197.8 kB / 0.6652 GB, free: 5.227 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.5024, allocations: 336.1 kB / 0.6655 GB, free: 4.871 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5024, allocations: 0 / 0.6655 GB, free: 4.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009104/0.5033, allocations: 431.1 kB / 0.6659 GB, free: 4.445 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5034, allocations: 8 kB / 0.666 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5034, allocations: 0.5 kB / 0.666 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.5034, allocations: 7.938 kB / 0.666 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.5038, allocations: 87.88 kB / 0.666 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5039, allocations: 4 kB / 0.666 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.5043, allocations: 80.23 kB / 0.6661 GB, free: 4.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.5044, allocations: 19.98 kB / 0.6661 GB, free: 4.242 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003619/0.5047, allocations: 224.7 kB / 0.6664 GB, free: 4.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002505/0.505, allocations: 191.6 kB / 0.6665 GB, free: 3.793 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004802/0.5055, allocations: 308.5 kB / 0.6668 GB, free: 3.453 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.5055, allocations: 0 / 0.6668 GB, free: 3.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000632/0.5061, allocations: 378.1 kB / 0.6672 GB, free: 3.078 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.5062, allocations: 5.562 kB / 0.6672 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5062, allocations: 7.938 kB / 0.6672 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.5062, allocations: 8.344 kB / 0.6672 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.5065, allocations: 92.31 kB / 0.6673 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5065, allocations: 7.938 kB / 0.6673 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.5068, allocations: 67.64 kB / 0.6674 GB, free: 2.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.5069, allocations: 16 kB / 0.6674 GB, free: 2.879 MB / 490.7 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.0001362/0.507, allocations: 200.2 kB / 0.6676 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5071, allocations: 59.84 kB / 0.6676 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.509, allocations: 1.575 MB / 0.6692 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.509, allocations: 23.97 kB / 0.6692 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.509, allocations: 0 / 0.6692 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.509, allocations: 4 kB / 0.6692 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5101, allocations: 0.9762 MB / 0.6702 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5101, allocations: 0 / 0.6702 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.5104, allocations: 63.89 kB / 0.6702 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5104, allocations: 4 kB / 0.6702 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.5105, allocations: 19.92 kB / 0.6702 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5105, allocations: 0.9375 kB / 0.6702 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5105, allocations: 0 / 0.6702 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.5126, allocations: 2.057 MB / 0.6723 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.5129, allocations: 199.7 kB / 0.6724 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.5129, allocations: 4 kB / 0.6724 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.5133, allocations: 63.84 kB / 0.6725 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5135, allocations: 35.94 kB / 0.6725 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.5135, allocations: 8 kB / 0.6725 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003326/0.5138, allocations: 326.9 kB / 0.6729 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5138, allocations: 0 / 0.6729 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00303/0.5169, allocations: 1.096 MB / 0.6739 GB, free: 12.04 MB / 0.4948 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.003357/0.5202, allocations: 0.9892 MB / 0.6749 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.5215, allocations: 0.6541 MB / 0.6755 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5216, allocations: 0 / 0.6755 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.5221, allocations: 428.8 kB / 0.6759 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.5239, allocations: 299.3 kB / 0.6762 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.5273, allocations: 2.541 MB / 0.6787 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.5278, allocations: 1.01 MB / 0.6797 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006817/0.5285, allocations: 387.7 kB / 0.6801 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.5286, allocations: 47.42 kB / 0.6801 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.5287, allocations: 0 / 0.6801 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of Templates: time 0.233/0.7616, allocations: 38.25 MB / 0.7175 GB, free: 152.1 MB / 0.4948 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)