Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 116.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 209 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 251.6 MB, free: 120 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2408/0.2408, allocations: 46.2 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 81.45 kB / 490.3 MB, free: 27.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1302, allocations: 62.46 MB / 0.5398 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.4509/0.5811, allocations: 90.46 MB / 0.6281 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03487/0.6161, allocations: 21.34 MB / 0.649 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.6201, allocations: 88.62 kB / 0.649 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.6234, allocations: 0.9419 MB / 0.65 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.6355, allocations: 3.746 MB / 0.6536 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01913/0.6547, allocations: 5.653 MB / 0.6591 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.6677, allocations: 6.926 MB / 0.6659 GB, free: 8.602 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003932/0.6717, allocations: 1.813 MB / 0.6677 GB, free: 7.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1872/0.8589, allocations: 74.9 MB / 0.7408 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0766/0.9355, allocations: 31.93 MB / 0.772 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.9368, allocations: 244 kB / 0.7722 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01674/0.9535, allocations: 6.112 MB / 0.7782 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/0.9559, allocations: 1.067 MB / 0.7792 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004188/0.9601, allocations: 1.497 MB / 0.7807 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.9746, allocations: 5.529 MB / 0.7861 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9746, allocations: 0 / 0.7861 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9746, allocations: 0 / 0.7861 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001309/0.9748, allocations: 0 / 0.7861 GB, free: 1.59 MB / 0.5762 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.01001/0.9848, allocations: 3.588 MB / 0.7896 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.9848, allocations: 8.031 kB / 0.7896 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.9859, allocations: 330.1 kB / 0.7899 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.989, allocations: 1.673 MB / 0.7916 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.9892, allocations: 215.1 kB / 0.7918 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.9895, allocations: 188 kB / 0.7919 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006067/0.9956, allocations: 3.274 MB / 0.7951 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/0.9956, allocations: 3.938 kB / 0.7951 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.9959, allocations: 83.95 kB / 0.7952 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003538/0.9963, allocations: 259.7 kB / 0.7955 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005341/1.002, allocations: 3.091 MB / 0.7985 GB, free: 4.629 MB / 0.5919 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.02077/1.022, allocations: 13.85 MB / 0.812 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004478/1.027, allocations: 2.197 MB / 0.8142 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/1.029, allocations: 1.188 MB / 0.8153 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/1.04, allocations: 5.616 MB / 0.8208 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/1.04, allocations: 51.88 kB / 0.8209 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008389/1.04, allocations: 166.5 kB / 0.821 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=158): time 4.378e-06/1.04, allocations: 0 / 0.821 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=259): time 0.8041/1.845, allocations: 55.34 MB / 0.8751 GB, free: 237.7 MB / 0.6387 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1329/1.978, allocations: 45.53 MB / 0.9195 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/1.98, allocations: 1.861 MB / 0.9213 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006174/1.981, allocations: 69.7 kB / 0.9214 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/1.982, allocations: 1.118 MB / 0.9225 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.983, allocations: 0.91 MB / 0.9234 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/1.984, allocations: 0.5644 MB / 0.9239 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/1.984, allocations: 305.1 kB / 0.9242 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003824/1.988, allocations: 2.18 MB / 0.9264 GB, free: 188 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/1.992, allocations: 2.825 MB / 0.9291 GB, free: 184.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/2.002, allocations: 5.414 MB / 0.9344 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/2.003, allocations: 4 kB / 0.9344 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01451/2.017, allocations: 7.492 MB / 0.9417 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/2.017, allocations: 12 kB / 0.9417 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/2.017, allocations: 20 kB / 0.9418 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04223/2.059, allocations: 11.83 MB / 0.9533 GB, free: 159.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/2.061, allocations: 355.3 kB / 0.9536 GB, free: 159.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/2.078, allocations: 8.615 MB / 0.9621 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/2.082, allocations: 195.8 kB / 0.9622 GB, free: 150.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009447/2.083, allocations: 155.9 kB / 0.9624 GB, free: 150.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005678/2.088, allocations: 2.684 MB / 0.965 GB, free: 147.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003926/2.092, allocations: 2.759 MB / 0.9677 GB, free: 144.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01093/2.103, allocations: 5.285 MB / 0.9729 GB, free: 139.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.701e-05/2.103, allocations: 8 kB / 0.9729 GB, free: 139.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01469/2.118, allocations: 7.221 MB / 0.9799 GB, free: 131.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/2.118, allocations: 14.97 kB / 0.9799 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/2.118, allocations: 21.56 kB / 0.98 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/2.142, allocations: 7.676 MB / 0.9875 GB, free: 124.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/2.144, allocations: 395.2 kB / 0.9878 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/2.16, allocations: 8.152 MB / 0.9958 GB, free: 115.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/2.164, allocations: 191.8 kB / 0.996 GB, free: 115.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007347/2.165, allocations: 147.9 kB / 0.9961 GB, free: 115.2 MB / 0.6387 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.001142/2.166, allocations: 342.8 kB / 0.9964 GB, free: 114.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/2.167, allocations: 258.4 kB / 0.9967 GB, free: 114.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/2.183, allocations: 7.815 MB / 1.004 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/2.183, allocations: 43.97 kB / 1.004 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/2.183, allocations: 3.938 kB / 1.004 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01262/2.195, allocations: 6.892 MB / 1.011 GB, free: 99.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/2.222, allocations: 13.76 MB / 1.025 GB, free: 85.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/2.222, allocations: 0 / 1.025 GB, free: 85.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009717/2.223, allocations: 191.8 kB / 1.025 GB, free: 85.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0398/2.262, allocations: 11.25 MB / 1.036 GB, free: 74.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008049/2.263, allocations: 83.95 kB / 1.036 GB, free: 74.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/2.278, allocations: 8.345 MB / 1.044 GB, free: 66.04 MB / 0.6387 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.1217/2.4, allocations: 42.27 MB / 1.085 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/2.419, allocations: 10.43 MB / 1.095 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003175/2.422, allocations: 0.8195 MB / 1.096 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/2.424, allocations: 48 kB / 1.096 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003362/2.427, allocations: 171.8 kB / 1.096 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007487/2.428, allocations: 206 kB / 1.097 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000574/2.428, allocations: 112 kB / 1.097 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002216/2.431, allocations: 1.277 MB / 1.098 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/2.431, allocations: 0 / 1.098 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01072/2.441, allocations: 2.925 MB / 1.101 GB, free: 7.539 MB / 0.6387 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.009975/2.451, allocations: 2.124 MB / 1.103 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3141/2.766, allocations: 9.209 MB / 1.112 GB, free: 236.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/2.766, allocations: 0.7812 kB / 1.112 GB, free: 236.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01081/2.776, allocations: 3.221 MB / 1.115 GB, free: 236 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006379/2.783, allocations: 1.052 MB / 1.116 GB, free: 235.7 MB / 0.6387 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803: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.833127344958484] 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.790334538090974 2.800881503 1.8241899320000001 Calling exit ...