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.001975/0.001975, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002667/0.002667, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2217/0.2217, allocations: 44.91 MB / 359.6 MB, free: 6.281 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 67.91 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3172, allocations: 65.46 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1039/0.4211, allocations: 91.67 MB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03359/0.4547, allocations: 21.53 MB / 0.6688 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.4573, allocations: 122.9 kB / 0.6689 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.4601, allocations: 0.9589 MB / 0.6699 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.4702, allocations: 3.888 MB / 0.6737 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01441/0.4846, allocations: 6.054 MB / 0.6796 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.495, allocations: 7.275 MB / 0.6867 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003084/0.4981, allocations: 1.595 MB / 0.6882 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4718/0.9699, allocations: 74.49 MB / 0.761 GB, free: 44.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05866/1.029, allocations: 31.88 MB / 0.7921 GB, free: 34.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001198/1.03, allocations: 246 kB / 0.7924 GB, free: 34.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/1.048, allocations: 6.169 MB / 0.7984 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002484/1.051, allocations: 1.099 MB / 0.7995 GB, free: 30.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003978/1.055, allocations: 1.49 MB / 0.8009 GB, free: 29.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01372/1.069, allocations: 5.534 MB / 0.8063 GB, free: 25.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/1.069, allocations: 8 kB / 0.8063 GB, free: 25.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.595e-06/1.069, allocations: 0 / 0.8063 GB, free: 25.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001403/1.069, allocations: 0 / 0.8063 GB, free: 25.55 MB / 0.5606 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.01255/1.081, allocations: 3.507 MB / 0.8097 GB, free: 22.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.081, allocations: 8.031 kB / 0.8098 GB, free: 22.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.083, allocations: 327.9 kB / 0.8101 GB, free: 22.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/1.087, allocations: 1.574 MB / 0.8116 GB, free: 20.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/1.088, allocations: 270.3 kB / 0.8119 GB, free: 20.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005384/1.088, allocations: 185 kB / 0.812 GB, free: 20.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006641/1.095, allocations: 3.277 MB / 0.8152 GB, free: 18.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-05/1.095, allocations: 3.75 kB / 0.8152 GB, free: 18.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/1.095, allocations: 81.73 kB / 0.8153 GB, free: 18.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003756/1.096, allocations: 254.5 kB / 0.8156 GB, free: 17.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/1.102, allocations: 3.102 MB / 0.8186 GB, free: 15.83 MB / 0.5606 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.02333/1.126, allocations: 13.5 MB / 0.8318 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/1.131, allocations: 2.109 MB / 0.8338 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/1.133, allocations: 1.112 MB / 0.8349 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/1.145, allocations: 3.587 MB / 0.8384 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/1.145, allocations: 51.88 kB / 0.8385 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001043/1.146, allocations: 166.5 kB / 0.8386 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 8.425e-06/1.146, allocations: 0 / 0.8386 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.5435/1.69, allocations: 54.99 MB / 0.8923 GB, free: 6.418 MB / 0.6231 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1532/1.843, allocations: 45.19 MB / 0.9365 GB, free: 8.926 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/1.845, allocations: 1.866 MB / 0.9383 GB, free: 7.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005492/1.846, allocations: 65.7 kB / 0.9383 GB, free: 6.949 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/1.847, allocations: 1.113 MB / 0.9394 GB, free: 5.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.848, allocations: 0.9093 MB / 0.9403 GB, free: 4.938 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/1.849, allocations: 0.5723 MB / 0.9409 GB, free: 4.359 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.849, allocations: 305.1 kB / 0.9412 GB, free: 4.059 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004511/1.854, allocations: 2.176 MB / 0.9433 GB, free: 1.875 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005182/1.859, allocations: 2.824 MB / 0.946 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/1.872, allocations: 5.414 MB / 0.9513 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/1.872, allocations: 4 kB / 0.9513 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01717/1.889, allocations: 7.381 MB / 0.9585 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/1.889, allocations: 19.98 kB / 0.9586 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-05/1.889, allocations: 19.94 kB / 0.9586 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04812/1.937, allocations: 11.83 MB / 0.9701 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.939, allocations: 346.3 kB / 0.9705 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/1.959, allocations: 8.624 MB / 0.9789 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.962, allocations: 199.1 kB / 0.9791 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/1.963, allocations: 151.9 kB / 0.9792 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00561/1.968, allocations: 2.68 MB / 0.9818 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005252/1.974, allocations: 2.76 MB / 0.9845 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01195/1.985, allocations: 5.288 MB / 0.9897 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-05/1.986, allocations: 4 kB / 0.9897 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01623/2.002, allocations: 7.126 MB / 0.9967 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/2.002, allocations: 12 kB / 0.9967 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/2.002, allocations: 20 kB / 0.9967 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02772/2.03, allocations: 7.678 MB / 1.004 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/2.032, allocations: 389.7 kB / 1.005 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2669/2.298, allocations: 8.145 MB / 1.013 GB, free: 330.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/2.302, allocations: 192.1 kB / 1.013 GB, free: 330.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000498/2.302, allocations: 147.7 kB / 1.013 GB, free: 330.5 MB / 0.7325 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.0007706/2.303, allocations: 346.4 kB / 1.013 GB, free: 330.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006311/2.304, allocations: 256.2 kB / 1.013 GB, free: 330.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/2.318, allocations: 7.718 MB / 1.021 GB, free: 327.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/2.318, allocations: 33.62 kB / 1.021 GB, free: 327.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/2.318, allocations: 0 / 1.021 GB, free: 327.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01159/2.33, allocations: 6.779 MB / 1.028 GB, free: 325 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/2.354, allocations: 13.58 MB / 1.041 GB, free: 314.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/2.354, allocations: 0 / 1.041 GB, free: 314.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009348/2.355, allocations: 192.6 kB / 1.041 GB, free: 314.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04121/2.396, allocations: 11.26 MB / 1.052 GB, free: 303.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007104/2.397, allocations: 83.95 kB / 1.052 GB, free: 303.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/2.411, allocations: 8.347 MB / 1.06 GB, free: 295.4 MB / 0.7325 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.1213/2.532, allocations: 42 MB / 1.101 GB, free: 253.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/2.551, allocations: 10.34 MB / 1.111 GB, free: 243.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/2.553, allocations: 0.7518 MB / 1.112 GB, free: 242.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006841/2.554, allocations: 56.06 kB / 1.112 GB, free: 242.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/2.556, allocations: 171.8 kB / 1.112 GB, free: 242.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/2.557, allocations: 206 kB / 1.113 GB, free: 242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/2.557, allocations: 107.9 kB / 1.113 GB, free: 241.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001456/2.559, allocations: 1.273 MB / 1.114 GB, free: 240.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/2.559, allocations: 0 / 1.114 GB, free: 240.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007143/2.566, allocations: 2.931 MB / 1.117 GB, free: 237.9 MB / 0.7325 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.007773/2.573, allocations: 2.13 MB / 1.119 GB, free: 235.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02449/2.598, allocations: 8.796 MB / 1.127 GB, free: 227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/2.598, allocations: 0 / 1.127 GB, free: 227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.009057/2.607, allocations: 3.007 MB / 1.13 GB, free: 224 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005112/2.612, allocations: 1.054 MB / 1.131 GB, free: 223 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.331276872195303] 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'] 2.6221744408831 2.630746291 1.559499024 Calling exit ...