Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 187 kB / 16.64 MB, free: 5.137 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.278/1.278, allocations: 205.1 MB / 222.5 MB, free: 8.465 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.0009458/0.0009458, allocations: 94.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3237/0.3237, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1125, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2711/0.3836, allocations: 95.53 MB / 0.5689 GB, free: 2.648 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0328/0.4165, allocations: 22.59 MB / 0.5909 GB, free: 3.336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.4206, allocations: 116.5 kB / 0.5911 GB, free: 3.277 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.4235, allocations: 0.811 MB / 0.5919 GB, free: 2.836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.4338, allocations: 3.512 MB / 0.5953 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01311/0.4469, allocations: 4.906 MB / 0.6001 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01175/0.4587, allocations: 10.58 MB / 0.6104 GB, free: 7.723 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.4618, allocations: 1.574 MB / 0.6119 GB, free: 6.133 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1525/0.6143, allocations: 73.38 MB / 0.6836 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3116/0.926, allocations: 31.93 MB / 0.7148 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009257/0.9269, allocations: 130.6 kB / 0.7149 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.9411, allocations: 5.965 MB / 0.7207 GB, free: 76.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002359/0.9435, allocations: 0.9579 MB / 0.7217 GB, free: 76.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.9465, allocations: 1.376 MB / 0.723 GB, free: 76.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.9569, allocations: 5.342 MB / 0.7282 GB, free: 75.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.957, allocations: 0 / 0.7282 GB, free: 75.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.957, allocations: 0.5938 kB / 0.7282 GB, free: 75.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001101/0.9571, allocations: 0 / 0.7282 GB, free: 75.69 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.009582/0.9667, allocations: 3.485 MB / 0.7316 GB, free: 74.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9667, allocations: 12.94 kB / 0.7317 GB, free: 74.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.9678, allocations: 309.8 kB / 0.7319 GB, free: 74.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.9707, allocations: 1.561 MB / 0.7335 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.9708, allocations: 215.1 kB / 0.7337 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.9711, allocations: 188.2 kB / 0.7339 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004736/0.9759, allocations: 3.28 MB / 0.7371 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.9759, allocations: 6.688 kB / 0.7371 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.9761, allocations: 87.25 kB / 0.7371 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002947/0.9764, allocations: 251.8 kB / 0.7374 GB, free: 73.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.981, allocations: 3.092 MB / 0.7404 GB, free: 73.17 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.9972, allocations: 13.83 MB / 0.7539 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/1.001, allocations: 2.191 MB / 0.7561 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/1.002, allocations: 1.181 MB / 0.7572 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007909/1.01, allocations: 5.622 MB / 0.7627 GB, free: 56.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.01, allocations: 57.38 kB / 0.7628 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009477/1.011, allocations: 238 kB / 0.763 GB, free: 56.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=158): time 3.717e-06/1.011, allocations: 0 / 0.763 GB, free: 56.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=259): time 0.4543/1.465, allocations: 56.28 MB / 0.8179 GB, free: 2.621 MB / 0.4948 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1404/1.606, allocations: 46.3 MB / 0.8632 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/1.609, allocations: 1.862 MB / 0.865 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006475/1.609, allocations: 77.64 kB / 0.8651 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008572/1.61, allocations: 1.086 MB / 0.8661 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.612, allocations: 0.8725 MB / 0.867 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/1.613, allocations: 0.5604 MB / 0.8675 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/1.613, allocations: 305.1 kB / 0.8678 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004219/1.618, allocations: 2.188 MB / 0.8699 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004647/1.622, allocations: 2.817 MB / 0.8727 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.634, allocations: 5.454 MB / 0.878 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/1.634, allocations: 4 kB / 0.878 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01741/1.651, allocations: 7.504 MB / 0.8854 GB, free: 12.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/1.652, allocations: 12.94 kB / 0.8854 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/1.652, allocations: 20 kB / 0.8854 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04633/1.698, allocations: 12.26 MB / 0.8974 GB, free: 412 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.7, allocations: 356.4 kB / 0.8977 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/1.717, allocations: 8.633 MB / 0.9061 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/1.722, allocations: 255.8 kB / 0.9064 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006815/1.722, allocations: 151.9 kB / 0.9065 GB, free: 7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005416/1.728, allocations: 2.684 MB / 0.9091 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004602/1.732, allocations: 2.763 MB / 0.9118 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2117/1.944, allocations: 5.331 MB / 0.917 GB, free: 251.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.93e-05/1.944, allocations: 5.5 kB / 0.917 GB, free: 251.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01427/1.958, allocations: 7.24 MB / 0.9241 GB, free: 249 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.958, allocations: 12.53 kB / 0.9241 GB, free: 249 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/1.959, allocations: 18.56 kB / 0.9241 GB, free: 249 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02414/1.983, allocations: 7.735 MB / 0.9317 GB, free: 247.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/1.985, allocations: 394 kB / 0.9321 GB, free: 247.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/1.999, allocations: 8.163 MB / 0.94 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/2.003, allocations: 252 kB / 0.9403 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/2.004, allocations: 150.2 kB / 0.9404 GB, free: 244.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,79), (18,78)} Notification: Performance of prepare postOptimizeDAE: time 0.0007924/2.005, allocations: 337.9 kB / 0.9408 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/2.005, allocations: 248.5 kB / 0.941 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/2.021, allocations: 7.842 MB / 0.9486 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/2.021, allocations: 42.86 kB / 0.9487 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/2.021, allocations: 0.875 kB / 0.9487 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0141/2.035, allocations: 6.905 MB / 0.9554 GB, free: 238.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/2.06, allocations: 13.79 MB / 0.9689 GB, free: 233.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/2.06, allocations: 0 / 0.9689 GB, free: 233.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/2.061, allocations: 190.2 kB / 0.9691 GB, free: 233.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04396/2.105, allocations: 11.83 MB / 0.9806 GB, free: 223.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000761/2.106, allocations: 83.95 kB / 0.9807 GB, free: 223.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/2.12, allocations: 8.362 MB / 0.9889 GB, free: 215.5 MB / 0.5886 GB Warning: There are tearing variables with annotation attribute 'tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac9 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1215/2.241, allocations: 46.33 MB / 1.034 GB, free: 168.8 MB / 0.5886 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 7.282/9.523, allocations: 418.4 MB / 1.443 GB, free: 29.75 MB / 0.5886 GB Error: post-optimization module symbolicJacobian (simulation) failed.