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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008497/0.0008497, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005353/0.005353, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8869/0.8869, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 32.8 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.285e-05, allocations: 8.328 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2042/0.2043, allocations: 81.37 MB / 0.51 GB, free: 10.58 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.228, allocations: 19.61 MB / 0.5292 GB, free: 13.63 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.2304, allocations: 123.7 kB / 0.5293 GB, free: 13.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2322, allocations: 0.9186 MB / 0.5302 GB, free: 12.78 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007406/0.2396, allocations: 4 MB / 0.5341 GB, free: 9.684 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.2515, allocations: 6.717 MB / 0.5406 GB, free: 3.922 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007387/0.2589, allocations: 6.806 MB / 0.5473 GB, free: 13.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.2605, allocations: 1.564 MB / 0.5488 GB, free: 11.51 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08614/0.3467, allocations: 75.3 MB / 0.6223 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2458/0.5925, allocations: 31.72 MB / 0.6533 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0006345/0.5931, allocations: 245 kB / 0.6536 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007505/0.6006, allocations: 5.447 MB / 0.6589 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0008842/0.6015, allocations: 1.154 MB / 0.66 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.603, allocations: 1.065 MB / 0.661 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.6102, allocations: 5.729 MB / 0.6666 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6102, allocations: 1 kB / 0.6666 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6102, allocations: 0 / 0.6666 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.3e-05/0.6102, allocations: 0 / 0.6666 GB, free: 84.44 MB / 0.5261 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.005206/0.6154, allocations: 3.491 MB / 0.67 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6155, allocations: 10.25 kB / 0.6701 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006684/0.6162, allocations: 321 kB / 0.6704 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.6183, allocations: 1.576 MB / 0.6719 GB, free: 82.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.6185, allocations: 266 kB / 0.6722 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.6187, allocations: 192.7 kB / 0.6723 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00392/0.6227, allocations: 3.65 MB / 0.6759 GB, free: 81.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.6227, allocations: 4.906 kB / 0.6759 GB, free: 81.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.6229, allocations: 89.27 kB / 0.676 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/0.6231, allocations: 255.3 kB / 0.6762 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.6266, allocations: 3.089 MB / 0.6793 GB, free: 81.35 MB / 0.5261 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.009107/0.6357, allocations: 9.77 MB / 0.6888 GB, free: 78.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.638, allocations: 2.089 MB / 0.6908 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.639, allocations: 1.104 MB / 0.6919 GB, free: 78.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003778/0.6428, allocations: 3.233 MB / 0.6951 GB, free: 77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.6428, allocations: 56.84 kB / 0.6951 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002755/0.6431, allocations: 126.2 kB / 0.6952 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 2.635e-06/0.6431, allocations: 0 / 0.6952 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=259): time 0.2302/0.8733, allocations: 54.98 MB / 0.7489 GB, free: 24.31 MB / 0.5261 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.06685/0.9401, allocations: 44.33 MB / 0.7922 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.942, allocations: 1.507 MB / 0.7937 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005689/0.9426, allocations: 69.7 kB / 0.7938 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005125/0.9431, allocations: 1.108 MB / 0.7949 GB, free: 9.094 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000586/0.9437, allocations: 0.8997 MB / 0.7957 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/0.9444, allocations: 0.5644 MB / 0.7963 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.9445, allocations: 301.1 kB / 0.7966 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/0.947, allocations: 2.184 MB / 0.7987 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/0.95, allocations: 2.815 MB / 0.8014 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006127/0.9561, allocations: 5.413 MB / 0.8067 GB, free: 12.45 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.9561, allocations: 8 kB / 0.8067 GB, free: 12.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009183/0.9653, allocations: 7.353 MB / 0.8139 GB, free: 5.145 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9653, allocations: 18.91 kB / 0.8139 GB, free: 5.129 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.9654, allocations: 20.91 kB / 0.814 GB, free: 5.109 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02249/0.9878, allocations: 11.83 MB / 0.8255 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.9889, allocations: 359 kB / 0.8259 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.9995, allocations: 8.63 MB / 0.8343 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/1.002, allocations: 191.8 kB / 0.8345 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/1.002, allocations: 152 kB / 0.8346 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003867/1.006, allocations: 2.684 MB / 0.8372 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002684/1.008, allocations: 2.757 MB / 0.8399 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00622/1.015, allocations: 5.288 MB / 0.8451 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.067e-05/1.015, allocations: 8 kB / 0.8451 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.009046/1.024, allocations: 7.098 MB / 0.852 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.024, allocations: 19.94 kB / 0.8521 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.024, allocations: 16 kB / 0.8521 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01328/1.037, allocations: 7.674 MB / 0.8596 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.038, allocations: 390.4 kB / 0.8599 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1968/1.235, allocations: 8.138 MB / 0.8679 GB, free: 251.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/1.237, allocations: 195.6 kB / 0.8681 GB, free: 251.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/1.238, allocations: 147.9 kB / 0.8682 GB, free: 251.1 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.0006971/1.238, allocations: 334.6 kB / 0.8685 GB, free: 250.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/1.239, allocations: 235.3 kB / 0.8688 GB, free: 250.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008784/1.247, allocations: 7.688 MB / 0.8763 GB, free: 248.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/1.247, allocations: 35.59 kB / 0.8763 GB, free: 248.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.247, allocations: 3.469 kB / 0.8763 GB, free: 248.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006912/1.254, allocations: 6.779 MB / 0.8829 GB, free: 246.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.269, allocations: 12.81 MB / 0.8954 GB, free: 241.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/1.269, allocations: 1.125 kB / 0.8954 GB, free: 241.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/1.27, allocations: 187.7 kB / 0.8956 GB, free: 241.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0228/1.292, allocations: 11.25 MB / 0.9066 GB, free: 240 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/1.293, allocations: 83.67 kB / 0.9067 GB, free: 240 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009584/1.302, allocations: 8.342 MB / 0.9148 GB, free: 236.6 MB / 0.6198 GB Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = 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.06015/1.362, allocations: 41.18 MB / 0.955 GB, free: 203.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.374, allocations: 10.3 MB / 0.9651 GB, free: 193.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.375, allocations: 0.717 MB / 0.9658 GB, free: 192.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/1.375, allocations: 48 kB / 0.9658 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.376, allocations: 167.9 kB / 0.966 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/1.376, allocations: 213.9 kB / 0.9662 GB, free: 192.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.377, allocations: 108 kB / 0.9663 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008385/1.377, allocations: 0.979 MB / 0.9673 GB, free: 191 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.377, allocations: 0 / 0.9673 GB, free: 191 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005404/1.383, allocations: 2.911 MB / 0.9701 GB, free: 188.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,77), (19,105)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0048/1.388, allocations: 2.264 MB / 0.9723 GB, free: 186.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.4, allocations: 8.8 MB / 0.9809 GB, free: 177.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.4, allocations: 5.938 kB / 0.9809 GB, free: 177.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004357/1.404, allocations: 3.003 MB / 0.9838 GB, free: 174.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.407, allocations: 0.9592 MB / 0.9848 GB, free: 173.4 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.211902511306107] Failed to read output from testmodel.py, exit status != 0: ['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'] 1.4124732473865151 1.4177769310000001 0.80613491 Calling exit ...