Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 110.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2116/0.2116, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 67.5 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1097, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.09351/0.2032, allocations: 90.17 MB / 0.5197 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3245/0.5278, allocations: 21.27 MB / 0.5404 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.5315, allocations: 88.47 kB / 0.5405 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.534, allocations: 0.9358 MB / 0.5414 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.5446, allocations: 3.726 MB / 0.5451 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01507/0.5597, allocations: 5.622 MB / 0.5506 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.5714, allocations: 6.89 MB / 0.5573 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.5752, allocations: 1.808 MB / 0.5591 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1754/0.7506, allocations: 74.81 MB / 0.6321 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07686/0.8275, allocations: 31.9 MB / 0.6633 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.8287, allocations: 244 kB / 0.6635 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.8458, allocations: 6.083 MB / 0.6695 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.848, allocations: 1.077 MB / 0.6705 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.851, allocations: 1.491 MB / 0.672 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.8633, allocations: 5.492 MB / 0.6773 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8633, allocations: 0 / 0.6773 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8633, allocations: 4 kB / 0.6773 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001117/0.8634, allocations: 0 / 0.6773 GB, free: 12.55 MB / 0.5137 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.009328/0.8728, allocations: 3.485 MB / 0.6807 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8728, allocations: 15.89 kB / 0.6807 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.8738, allocations: 308.6 kB / 0.681 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.8773, allocations: 1.669 MB / 0.6827 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.8775, allocations: 214.2 kB / 0.6829 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.8778, allocations: 183.7 kB / 0.683 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/0.8833, allocations: 3.274 MB / 0.6862 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.54e-05/0.8834, allocations: 4 kB / 0.6863 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.8837, allocations: 84.66 kB / 0.6863 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003247/0.884, allocations: 259.7 kB / 0.6866 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005264/0.8893, allocations: 3.091 MB / 0.6896 GB, free: 15.87 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.02424/0.9135, allocations: 13.83 MB / 0.7031 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/0.918, allocations: 2.198 MB / 0.7053 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.9198, allocations: 1.184 MB / 0.7064 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008998/0.9288, allocations: 5.615 MB / 0.7119 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.9289, allocations: 51.88 kB / 0.7119 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007768/0.9297, allocations: 158.1 kB / 0.7121 GB, free: 7.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=158): time 5.891e-06/0.9297, allocations: 0 / 0.7121 GB, free: 7.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=259): time 0.7838/1.713, allocations: 56.25 MB / 0.767 GB, free: 233.5 MB / 0.5606 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1276/1.841, allocations: 46.41 MB / 0.8124 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/1.844, allocations: 1.866 MB / 0.8142 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000751/1.844, allocations: 73.7 kB / 0.8142 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006/1.845, allocations: 1.082 MB / 0.8153 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007499/1.846, allocations: 0.8696 MB / 0.8162 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009568/1.847, allocations: 0.5643 MB / 0.8167 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/1.847, allocations: 305.1 kB / 0.817 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/1.85, allocations: 2.18 MB / 0.8191 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/1.854, allocations: 2.824 MB / 0.8219 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009203/1.863, allocations: 5.457 MB / 0.8272 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.863, allocations: 4 kB / 0.8272 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01328/1.876, allocations: 7.492 MB / 0.8345 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/1.877, allocations: 16 kB / 0.8345 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/1.877, allocations: 23.92 kB / 0.8346 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04306/1.92, allocations: 12.25 MB / 0.8465 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.921, allocations: 351.4 kB / 0.8469 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/1.937, allocations: 8.648 MB / 0.8553 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/1.941, allocations: 195.8 kB / 0.8555 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005761/1.941, allocations: 151.9 kB / 0.8556 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004406/1.946, allocations: 2.684 MB / 0.8583 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004004/1.95, allocations: 2.759 MB / 0.861 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00945/1.959, allocations: 5.328 MB / 0.8662 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.22e-05/1.959, allocations: 4 kB / 0.8662 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01353/1.973, allocations: 7.233 MB / 0.8732 GB, free: 123 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.973, allocations: 16 kB / 0.8732 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/1.973, allocations: 16 kB / 0.8733 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02345/1.996, allocations: 7.746 MB / 0.8808 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/1.998, allocations: 395.3 kB / 0.8812 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/2.013, allocations: 8.155 MB / 0.8892 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/2.017, allocations: 195.8 kB / 0.8894 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/2.018, allocations: 147.9 kB / 0.8895 GB, free: 106.3 MB / 0.5606 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.0009114/2.019, allocations: 340.1 kB / 0.8898 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006811/2.019, allocations: 249 kB / 0.8901 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/2.033, allocations: 7.839 MB / 0.8977 GB, free: 97.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/2.033, allocations: 39.92 kB / 0.8977 GB, free: 97.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.033, allocations: 0 / 0.8977 GB, free: 97.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01163/2.045, allocations: 6.915 MB / 0.9045 GB, free: 90.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/2.069, allocations: 13.78 MB / 0.918 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/2.069, allocations: 0 / 0.918 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/2.07, allocations: 187.9 kB / 0.9181 GB, free: 76.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04129/2.111, allocations: 11.67 MB / 0.9295 GB, free: 65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008474/2.112, allocations: 91.95 kB / 0.9296 GB, free: 64.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/2.127, allocations: 8.36 MB / 0.9378 GB, free: 56.5 MB / 0.5606 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.1225/2.249, allocations: 43.24 MB / 0.98 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/2.268, allocations: 10.44 MB / 0.9902 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/2.27, allocations: 0.8137 MB / 0.991 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006965/2.271, allocations: 48 kB / 0.991 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/2.273, allocations: 171.8 kB / 0.9912 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/2.274, allocations: 194.1 kB / 0.9914 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/2.274, allocations: 115.9 kB / 0.9915 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2685/2.543, allocations: 1.269 MB / 0.9927 GB, free: 237.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.52e-07/2.543, allocations: 0 / 0.9927 GB, free: 237.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01189/2.555, allocations: 2.89 MB / 0.9956 GB, free: 237.5 MB / 0.5606 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.009976/2.565, allocations: 2.096 MB / 0.9976 GB, free: 237.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02882/2.593, allocations: 9.218 MB / 1.007 GB, free: 236.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/2.593, allocations: 0 / 1.007 GB, free: 236.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008849/2.602, allocations: 3.206 MB / 1.01 GB, free: 235.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/2.607, allocations: 1.051 MB / 1.011 GB, free: 235 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:804:5-804:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]