Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 104.9 kB / 17.74 MB, free: 5.191 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.001315/0.001316, allocations: 188.2 kB / 18.67 MB, free: 4.266 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.358/1.358, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2806/0.2806, allocations: 48.84 MB / 320.7 MB, free: 11 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.001648/0.001648, allocations: 79.83 kB / 451.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.3357/0.4523, allocations: 109.9 MB / 0.6057 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.4667, allocations: 11.71 MB / 0.6172 GB, free: 64 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.4676, allocations: 20.78 kB / 0.6172 GB, free: 56 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.4693, allocations: 0.5731 MB / 0.6178 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.4707, allocations: 0.6653 MB / 0.6184 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.016/0.4867, allocations: 5.702 MB / 0.624 GB, free: 9.422 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.4893, allocations: 1.872 MB / 0.6258 GB, free: 7.543 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4904, allocations: 0.6944 MB / 0.6265 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.4914, allocations: 0.7239 MB / 0.6272 GB, free: 6.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.4921, allocations: 0.7003 MB / 0.6279 GB, free: 5.414 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.4923, allocations: 80 kB / 0.6279 GB, free: 5.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.5046, allocations: 6.444 MB / 0.6342 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.5049, allocations: 191.3 kB / 0.6344 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007232/0.5056, allocations: 493.7 kB / 0.6349 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.5171, allocations: 4.436 MB / 0.6392 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5171, allocations: 0 / 0.6392 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5171, allocations: 0 / 0.6392 GB, free: 9.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.5172, allocations: 0 / 0.6392 GB, free: 9.77 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004943/0.5221, allocations: 1.859 MB / 0.641 GB, free: 7.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5222, allocations: 11.89 kB / 0.641 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.5225, allocations: 123.8 kB / 0.6412 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.5233, allocations: 0.5344 MB / 0.6417 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.5234, allocations: 54.38 kB / 0.6417 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.5235, allocations: 68.56 kB / 0.6418 GB, free: 7.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.5257, allocations: 0.9756 MB / 0.6428 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.5257, allocations: 4 kB / 0.6428 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.5258, allocations: 24 kB / 0.6428 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.5258, allocations: 25.56 kB / 0.6428 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.5283, allocations: 0.7933 MB / 0.6436 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.5328, allocations: 4.683 MB / 0.6482 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.5353, allocations: 0.7074 MB / 0.6488 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009146/0.5362, allocations: 289.5 kB / 0.6491 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06341/0.5996, allocations: 32.14 MB / 0.6805 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.6014, allocations: 0.5118 MB / 0.681 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 3.647e-06/0.6014, allocations: 0 / 0.681 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.00399/0.6054, allocations: 1.063 MB / 0.682 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.6055, allocations: 93.09 kB / 0.6821 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.6063, allocations: 0.5627 MB / 0.6827 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/0.6063, allocations: 33.7 kB / 0.6827 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.6067, allocations: 380.4 kB / 0.6831 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6069, allocations: 134.1 kB / 0.6832 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.6071, allocations: 94.23 kB / 0.6833 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.6073, allocations: 386.7 kB / 0.6837 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009543/0.6082, allocations: 266.9 kB / 0.6839 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009999/0.6093, allocations: 363.6 kB / 0.6843 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.6112, allocations: 0.6805 MB / 0.6849 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6112, allocations: 0 / 0.6849 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002412/0.6136, allocations: 0.8464 MB / 0.6858 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.6137, allocations: 118.8 kB / 0.6859 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6137, allocations: 9.188 kB / 0.6859 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.6137, allocations: 4 kB / 0.6859 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.6144, allocations: 140.1 kB / 0.686 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.6144, allocations: 7.984 kB / 0.686 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.6152, allocations: 107.3 kB / 0.6861 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.6153, allocations: 27.98 kB / 0.6862 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00101/0.6163, allocations: 381 kB / 0.6865 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008815/0.6172, allocations: 341.4 kB / 0.6868 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00166/0.6188, allocations: 0.6545 MB / 0.6875 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.6188, allocations: 0 / 0.6875 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002163/0.621, allocations: 0.823 MB / 0.6883 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.6211, allocations: 118.8 kB / 0.6884 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6211, allocations: 4 kB / 0.6884 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.6211, allocations: 11.94 kB / 0.6884 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.6217, allocations: 144 kB / 0.6885 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6217, allocations: 4.875 kB / 0.6886 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.6224, allocations: 95.5 kB / 0.6886 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.6225, allocations: 27.98 kB / 0.6887 GB, free: 2.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 4 * 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.0002585/0.6228, allocations: 226.1 kB / 0.6889 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6229, allocations: 67.25 kB / 0.689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.6262, allocations: 1.825 MB / 0.6907 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6262, allocations: 0 / 0.6907 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6262, allocations: 0 / 0.6907 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.6266, allocations: 223.7 kB / 0.6909 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6267, allocations: 18.38 kB / 0.691 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.6273, allocations: 75.88 kB / 0.691 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.6276, allocations: 79.91 kB / 0.6911 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002904/0.6305, allocations: 1.268 MB / 0.6924 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002604/0.6331, allocations: 1.311 MB / 0.6936 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001147/0.6343, allocations: 0.5359 MB / 0.6942 GB, free: 12.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000466/0.6347, allocations: 391.1 kB / 0.6945 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Backend: time 4.71e-07/0.6347, allocations: 0 / 0.6945 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008282/0.643, allocations: 2.374 MB / 0.6968 GB, free: 9.707 MB / 0.545 GB Notification: Performance of SimCode: time 0.003204/0.6463, allocations: 1.927 MB / 0.6987 GB, free: 7.73 MB / 0.545 GB Notification: Performance of Templates: time 0.06297/0.7093, allocations: 47.7 MB / 0.7453 GB, free: 7.953 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1)