Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.002133/0.002133, allocations: 179 kB / 18.68 MB, free: 4.383 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.484/1.484, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2916/0.2916, allocations: 48.85 MB / 320.8 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.001776/0.001776, allocations: 71.89 kB / 451.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1202, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.3418/0.462, allocations: 105.2 MB / 0.6012 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.4765, allocations: 11.68 MB / 0.6126 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007524/0.4773, allocations: 19.09 kB / 0.6126 GB, free: 3.883 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.4788, allocations: 0.5583 MB / 0.6131 GB, free: 3.395 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.48, allocations: 0.6341 MB / 0.6138 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01381/0.4938, allocations: 5.726 MB / 0.6193 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.496, allocations: 1.829 MB / 0.6211 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.4971, allocations: 0.6649 MB / 0.6218 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.4983, allocations: 0.7123 MB / 0.6225 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000819/0.4991, allocations: 0.6963 MB / 0.6232 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.4992, allocations: 80 kB / 0.6232 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.5108, allocations: 6.439 MB / 0.6295 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.5111, allocations: 187.3 kB / 0.6297 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006157/0.5117, allocations: 485.7 kB / 0.6302 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.5201, allocations: 4.43 MB / 0.6345 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5201, allocations: 0 / 0.6345 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5202, allocations: 0 / 0.6345 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.5202, allocations: 0 / 0.6345 GB, free: 14.64 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005205/0.5254, allocations: 1.889 MB / 0.6363 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5255, allocations: 11.89 kB / 0.6363 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.5259, allocations: 128.3 kB / 0.6365 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.5268, allocations: 0.5428 MB / 0.637 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.5269, allocations: 49.88 kB / 0.637 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.527, allocations: 71.94 kB / 0.6371 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.5292, allocations: 0.938 MB / 0.638 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5292, allocations: 0 / 0.638 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.5294, allocations: 32.92 kB / 0.6381 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.5294, allocations: 16 kB / 0.6381 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.5319, allocations: 0.7855 MB / 0.6388 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004693/0.5366, allocations: 4.35 MB / 0.6431 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.5391, allocations: 0.7355 MB / 0.6438 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009011/0.54, allocations: 306.1 kB / 0.6441 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06207/0.6021, allocations: 32.12 MB / 0.6755 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.6038, allocations: 0.5277 MB / 0.676 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=44): time 3.086e-06/0.6038, allocations: 0 / 0.676 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.003816/0.6077, allocations: 1.086 MB / 0.677 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.6077, allocations: 93.03 kB / 0.6771 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006877/0.6084, allocations: 0.5431 MB / 0.6777 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.6085, allocations: 45.64 kB / 0.6777 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.6088, allocations: 349 kB / 0.678 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.6089, allocations: 146.8 kB / 0.6782 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.6091, allocations: 98.06 kB / 0.6783 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6093, allocations: 374.8 kB / 0.6786 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/0.6102, allocations: 275.5 kB / 0.6789 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/0.6111, allocations: 335.7 kB / 0.6792 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.6128, allocations: 0.6581 MB / 0.6799 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6129, allocations: 0 / 0.6799 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002202/0.6151, allocations: 0.8428 MB / 0.6807 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.6152, allocations: 118.8 kB / 0.6808 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6152, allocations: 4 kB / 0.6808 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.6152, allocations: 4 kB / 0.6808 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.6159, allocations: 132 kB / 0.6809 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.6159, allocations: 4 kB / 0.6809 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.6166, allocations: 116.3 kB / 0.681 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.6166, allocations: 23.98 kB / 0.6811 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009704/0.6176, allocations: 384.9 kB / 0.6814 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008302/0.6185, allocations: 339.1 kB / 0.6818 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/0.62, allocations: 0.6532 MB / 0.6824 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.6201, allocations: 0 / 0.6824 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.002038/0.6221, allocations: 0.8207 MB / 0.6832 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.6222, allocations: 122.7 kB / 0.6833 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6222, allocations: 4 kB / 0.6833 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.6222, allocations: 8.25 kB / 0.6833 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.6228, allocations: 131.8 kB / 0.6834 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.6228, allocations: 4 kB / 0.6835 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/0.6235, allocations: 100.4 kB / 0.6835 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.6235, allocations: 24 kB / 0.6836 GB, free: 7.559 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,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 (54): * Single equations (assignments): 50 * 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.0002179/0.6237, allocations: 226.1 kB / 0.6838 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.6239, allocations: 71.58 kB / 0.6839 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.6268, allocations: 1.848 MB / 0.6857 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6268, allocations: 0 / 0.6857 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6269, allocations: 0 / 0.6857 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.6272, allocations: 231.2 kB / 0.6859 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6273, allocations: 8 kB / 0.6859 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.6279, allocations: 79.81 kB / 0.686 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.6281, allocations: 83.91 kB / 0.686 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002769/0.6309, allocations: 1.292 MB / 0.6873 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002324/0.6332, allocations: 1.323 MB / 0.6886 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001081/0.6343, allocations: 0.5446 MB / 0.6891 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003924/0.6347, allocations: 387 kB / 0.6895 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of Backend: time 5.51e-07/0.6347, allocations: 3.938 kB / 0.6895 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007713/0.6425, allocations: 2.371 MB / 0.6918 GB, free: 14.95 MB / 0.545 GB Notification: Performance of SimCode: time 0.00268/0.6452, allocations: 1.926 MB / 0.6937 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Templates: time 0.06394/0.7091, allocations: 47.05 MB / 0.7396 GB, free: 13.84 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1)