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.001572/0.001572, allocations: 85.83 kB / 20.68 MB, free: 1.035 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.00137/0.00137, allocations: 165.2 kB / 23.95 MB, free: 4.168 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.362/1.362, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.1962/0.1962, allocations: 32.8 MB / 293.5 MB, free: 40 kB / 270.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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.479e-05, allocations: 2.281 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2787/0.2788, allocations: 81.38 MB / 0.5093 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03239/0.3111, allocations: 19.61 MB / 0.5284 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003913/0.3151, allocations: 122.9 kB / 0.5285 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.3182, allocations: 0.9198 MB / 0.5294 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.3297, allocations: 4.002 MB / 0.5333 GB, free: 288 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01529/0.345, allocations: 6.713 MB / 0.5399 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009505/0.3545, allocations: 6.8 MB / 0.5465 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.3576, allocations: 1.561 MB / 0.5481 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1899/0.5474, allocations: 75.3 MB / 0.6216 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3094/0.8569, allocations: 31.73 MB / 0.6526 GB, free: 92.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009418/0.8578, allocations: 245.5 kB / 0.6528 GB, free: 92.37 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.8713, allocations: 5.451 MB / 0.6581 GB, free: 91.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.8732, allocations: 1.155 MB / 0.6593 GB, free: 91.42 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.8753, allocations: 1.058 MB / 0.6603 GB, free: 91.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.8853, allocations: 5.723 MB / 0.6659 GB, free: 91.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8853, allocations: 2.531 kB / 0.6659 GB, free: 91.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8853, allocations: 0 / 0.6659 GB, free: 91.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.52e-05/0.8854, allocations: 0 / 0.6659 GB, free: 91.39 MB / 0.5294 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.00774/0.8931, allocations: 3.49 MB / 0.6693 GB, free: 89.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.8932, allocations: 14.66 kB / 0.6693 GB, free: 89.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/0.8941, allocations: 321.8 kB / 0.6696 GB, free: 89.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.8966, allocations: 1.581 MB / 0.6712 GB, free: 89.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.8968, allocations: 265.6 kB / 0.6714 GB, free: 89.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.8971, allocations: 183.3 kB / 0.6716 GB, free: 89.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/0.9015, allocations: 3.652 MB / 0.6752 GB, free: 88.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/0.9016, allocations: 6.016 kB / 0.6752 GB, free: 88.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.9018, allocations: 88.7 kB / 0.6752 GB, free: 88.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000262/0.9021, allocations: 253 kB / 0.6755 GB, free: 88.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004407/0.9065, allocations: 3.094 MB / 0.6785 GB, free: 88.3 MB / 0.5294 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.01458/0.9211, allocations: 9.772 MB / 0.6881 GB, free: 85.05 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/0.9245, allocations: 2.082 MB / 0.6901 GB, free: 85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.926, allocations: 1.104 MB / 0.6912 GB, free: 84.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006111/0.9321, allocations: 3.233 MB / 0.6943 GB, free: 84.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.9321, allocations: 59.42 kB / 0.6944 GB, free: 84.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005686/0.9327, allocations: 129.6 kB / 0.6945 GB, free: 84.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=158): time 3.937e-06/0.9327, allocations: 0 / 0.6945 GB, free: 84.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259): time 0.4971/1.43, allocations: 54.98 MB / 0.7482 GB, free: 33.86 MB / 0.5294 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.134/1.564, allocations: 44.32 MB / 0.7915 GB, free: 5.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.566, allocations: 1.51 MB / 0.793 GB, free: 3.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006275/1.567, allocations: 66.58 kB / 0.793 GB, free: 3.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009153/1.568, allocations: 1.107 MB / 0.7941 GB, free: 2.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.569, allocations: 0.9075 MB / 0.795 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/1.571, allocations: 0.5605 MB / 0.7955 GB, free: 1.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.571, allocations: 305.1 kB / 0.7958 GB, free: 0.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004573/1.576, allocations: 2.18 MB / 0.798 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005177/1.581, allocations: 2.82 MB / 0.8007 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.593, allocations: 5.413 MB / 0.806 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/1.593, allocations: 8.547 kB / 0.806 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01775/1.611, allocations: 7.351 MB / 0.8132 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/1.611, allocations: 15.94 kB / 0.8132 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/1.611, allocations: 16 kB / 0.8132 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04847/1.659, allocations: 11.84 MB / 0.8248 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.661, allocations: 350.9 kB / 0.8251 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/1.682, allocations: 8.634 MB / 0.8335 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/1.685, allocations: 187.8 kB / 0.8337 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000742/1.686, allocations: 163.5 kB / 0.8339 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006237/1.692, allocations: 2.676 MB / 0.8365 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005387/1.698, allocations: 2.754 MB / 0.8392 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01237/1.71, allocations: 5.291 MB / 0.8443 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.367e-05/1.71, allocations: 6.078 kB / 0.8443 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01745/1.728, allocations: 7.106 MB / 0.8513 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/1.728, allocations: 12 kB / 0.8513 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/1.728, allocations: 20 kB / 0.8513 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02783/1.755, allocations: 7.676 MB / 0.8588 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.757, allocations: 393.5 kB / 0.8592 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/1.776, allocations: 8.134 MB / 0.8671 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/1.779, allocations: 193.8 kB / 0.8673 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/1.78, allocations: 147.9 kB / 0.8675 GB, free: 6.66 MB / 0.6231 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.0009337/1.781, allocations: 336.5 kB / 0.8678 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.781, allocations: 238.5 kB / 0.868 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1951/1.976, allocations: 7.69 MB / 0.8755 GB, free: 268.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-05/1.976, allocations: 31.66 kB / 0.8755 GB, free: 268.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.976, allocations: 4.297 kB / 0.8756 GB, free: 268.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01377/1.99, allocations: 6.78 MB / 0.8822 GB, free: 266.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/2.015, allocations: 12.82 MB / 0.8947 GB, free: 261.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/2.015, allocations: 1.375 kB / 0.8947 GB, free: 261.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008754/2.016, allocations: 186.2 kB / 0.8949 GB, free: 261.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0402/2.057, allocations: 11.25 MB / 0.9059 GB, free: 260.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006519/2.057, allocations: 86.89 kB / 0.9059 GB, free: 260.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/2.072, allocations: 8.354 MB / 0.9141 GB, free: 256.9 MB / 0.6231 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.1159/2.188, allocations: 41.16 MB / 0.9543 GB, free: 216.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/2.206, allocations: 10.3 MB / 0.9643 GB, free: 206.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/2.208, allocations: 0.7045 MB / 0.965 GB, free: 205.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006383/2.208, allocations: 53.69 kB / 0.9651 GB, free: 205.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/2.211, allocations: 179.8 kB / 0.9653 GB, free: 205.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004759/2.211, allocations: 217.8 kB / 0.9655 GB, free: 205.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000316/2.212, allocations: 108 kB / 0.9656 GB, free: 205.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001314/2.213, allocations: 0.9783 MB / 0.9665 GB, free: 204.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/2.213, allocations: 0 / 0.9665 GB, free: 204.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007773/2.221, allocations: 2.909 MB / 0.9694 GB, free: 201.5 MB / 0.6231 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.008337/2.229, allocations: 2.262 MB / 0.9716 GB, free: 199.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02277/2.252, allocations: 8.813 MB / 0.9802 GB, free: 190.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.252, allocations: 0 / 0.9802 GB, free: 190.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00834/2.26, allocations: 3.012 MB / 0.9831 GB, free: 187.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/2.265, allocations: 0.9635 MB / 0.9841 GB, free: 186.6 MB / 0.6231 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 658] [Calling sys.exit(0), Time elapsed: 4.700618539005518] 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.273362584412098 2.281796555 1.394056863 Calling exit ...