Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.0009909, allocations: 101.7 kB / 291.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3687/0.3687, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 55.92 kB / 457.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3232, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.08037/0.4036, allocations: 95.5 MB / 0.5997 GB, free: 468 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02964/0.4333, allocations: 22.61 MB / 0.6217 GB, free: 9.785 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004352/0.4377, allocations: 115.1 kB / 0.6218 GB, free: 9.672 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.44, allocations: 0.8159 MB / 0.6226 GB, free: 8.852 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008081/0.4481, allocations: 3.52 MB / 0.6261 GB, free: 5.316 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.4589, allocations: 4.941 MB / 0.6309 GB, free: 392 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.4697, allocations: 10.6 MB / 0.6413 GB, free: 5.758 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.4726, allocations: 1.563 MB / 0.6428 GB, free: 4.172 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4271/0.8998, allocations: 73.4 MB / 0.7145 GB, free: 25.74 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06368/0.9635, allocations: 31.95 MB / 0.7457 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.9647, allocations: 128 kB / 0.7458 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01383/0.9786, allocations: 5.962 MB / 0.7516 GB, free: 6.918 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002007/0.9806, allocations: 0.9655 MB / 0.7526 GB, free: 6.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.9834, allocations: 1.374 MB / 0.7539 GB, free: 5.578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009372/0.9928, allocations: 5.345 MB / 0.7591 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.9928, allocations: 0 / 0.7591 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.9928, allocations: 7.984 kB / 0.7591 GB, free: 1.535 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.151e-05/0.9929, allocations: 4 kB / 0.7591 GB, free: 1.531 MB / 490.7 MB 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.008908/1.002, allocations: 3.475 MB / 0.7625 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.002, allocations: 12.03 kB / 0.7625 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.003, allocations: 307.2 kB / 0.7628 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/1.006, allocations: 1.577 MB / 0.7644 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/1.006, allocations: 216.5 kB / 0.7646 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/1.007, allocations: 182.4 kB / 0.7647 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005054/1.012, allocations: 3.281 MB / 0.7679 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/1.012, allocations: 5.75 kB / 0.768 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/1.012, allocations: 80.03 kB / 0.768 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003022/1.012, allocations: 256 kB / 0.7683 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004801/1.017, allocations: 3.093 MB / 0.7713 GB, free: 7.941 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.01967/1.037, allocations: 13.82 MB / 0.7848 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/1.041, allocations: 2.196 MB / 0.7869 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/1.043, allocations: 1.184 MB / 0.7881 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008003/1.051, allocations: 5.612 MB / 0.7936 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.051, allocations: 55.44 kB / 0.7936 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007855/1.051, allocations: 230 kB / 0.7938 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=158): time 3.567e-06/1.051, allocations: 0 / 0.7938 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of matching and sorting (n=259): time 0.4971/1.549, allocations: 56.29 MB / 0.8488 GB, free: 10.56 MB / 0.573 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1403/1.689, allocations: 46.31 MB / 0.894 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/1.692, allocations: 1.866 MB / 0.8959 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000598/1.693, allocations: 69.77 kB / 0.8959 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008299/1.693, allocations: 1.088 MB / 0.897 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.695, allocations: 0.8615 MB / 0.8978 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/1.696, allocations: 0.5682 MB / 0.8984 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/1.696, allocations: 305.1 kB / 0.8987 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/1.701, allocations: 2.18 MB / 0.9008 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/1.705, allocations: 2.816 MB / 0.9036 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2361/1.941, allocations: 5.461 MB / 0.9089 GB, free: 270.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/1.941, allocations: 5.844 kB / 0.9089 GB, free: 270.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01472/1.956, allocations: 7.495 MB / 0.9162 GB, free: 268 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/1.956, allocations: 16.59 kB / 0.9162 GB, free: 268 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/1.956, allocations: 19.47 kB / 0.9162 GB, free: 268 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04523/2.002, allocations: 12.26 MB / 0.9282 GB, free: 266.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/2.003, allocations: 351.2 kB / 0.9286 GB, free: 266.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/2.023, allocations: 8.64 MB / 0.937 GB, free: 263.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/2.027, allocations: 263.1 kB / 0.9372 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/2.027, allocations: 150.8 kB / 0.9374 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005705/2.033, allocations: 2.679 MB / 0.94 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004841/2.038, allocations: 2.762 MB / 0.9427 GB, free: 260.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01049/2.049, allocations: 5.33 MB / 0.9479 GB, free: 258.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.043e-05/2.049, allocations: 7.062 kB / 0.9479 GB, free: 258.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01433/2.063, allocations: 7.235 MB / 0.955 GB, free: 255.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/2.063, allocations: 14.25 kB / 0.955 GB, free: 255.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/2.063, allocations: 15.38 kB / 0.955 GB, free: 255.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02506/2.088, allocations: 7.739 MB / 0.9626 GB, free: 251.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/2.09, allocations: 387.4 kB / 0.9629 GB, free: 251.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/2.106, allocations: 8.165 MB / 0.9709 GB, free: 243 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/2.111, allocations: 256.7 kB / 0.9712 GB, free: 242.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007407/2.112, allocations: 143.9 kB / 0.9713 GB, free: 242.6 MB / 0.6198 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.001432/2.113, allocations: 350.7 kB / 0.9716 GB, free: 242.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/2.114, allocations: 248.4 kB / 0.9719 GB, free: 242 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/2.13, allocations: 7.855 MB / 0.9795 GB, free: 234.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/2.13, allocations: 28 kB / 0.9796 GB, free: 234.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/2.13, allocations: 0 / 0.9796 GB, free: 234.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01248/2.143, allocations: 6.911 MB / 0.9863 GB, free: 227.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/2.17, allocations: 13.79 MB / 0.9998 GB, free: 213.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/2.17, allocations: 0 / 0.9998 GB, free: 213.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/2.171, allocations: 195 kB / 1 GB, free: 213.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0432/2.215, allocations: 11.82 MB / 1.012 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008679/2.216, allocations: 91.89 kB / 1.012 GB, free: 201.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/2.232, allocations: 8.356 MB / 1.02 GB, free: 192.8 MB / 0.6198 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.1341/2.366, allocations: 46.33 MB / 1.065 GB, free: 146.1 MB / 0.6198 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.373/9.739, allocations: 418.4 MB / 1.474 GB, free: 27.12 MB / 0.6198 GB Error: post-optimization module symbolicJacobian (simulation) failed.