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.001303/0.001303, allocations: 104.4 kB / 16.41 MB, free: 6.012 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.001494/0.001494, allocations: 192.9 kB / 17.34 MB, free: 5.613 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.398/1.398, allocations: 205.1 MB / 223.2 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.2134/0.2134, allocations: 43.52 MB / 314.1 MB, free: 464 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.001476/0.001477, allocations: 67.91 kB / 441.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1328, allocations: 57.79 MB / 499.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3443/0.4772, allocations: 90.17 MB / 0.576 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03183/0.5091, allocations: 21.3 MB / 0.5968 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.5121, allocations: 85.97 kB / 0.5969 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.5152, allocations: 0.9433 MB / 0.5978 GB, free: 6.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.5264, allocations: 3.778 MB / 0.6015 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01358/0.54, allocations: 5.618 MB / 0.607 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009504/0.5495, allocations: 6.903 MB / 0.6137 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.5535, allocations: 1.813 MB / 0.6155 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.172/0.7255, allocations: 74.87 MB / 0.6886 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07732/0.8028, allocations: 31.9 MB / 0.7197 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001691/0.8046, allocations: 244 kB / 0.72 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.8224, allocations: 6.085 MB / 0.7259 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003471/0.8259, allocations: 1.075 MB / 0.727 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004236/0.8301, allocations: 1.482 MB / 0.7284 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.8426, allocations: 5.504 MB / 0.7338 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8427, allocations: 0 / 0.7338 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8427, allocations: 0 / 0.7338 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001618/0.8428, allocations: 0 / 0.7338 GB, free: 12.82 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.01116/0.854, allocations: 3.488 MB / 0.7372 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8541, allocations: 11.89 kB / 0.7372 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.8558, allocations: 308.6 kB / 0.7375 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.8601, allocations: 1.676 MB / 0.7391 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.8604, allocations: 215 kB / 0.7393 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/0.8612, allocations: 188 kB / 0.7395 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006691/0.8679, allocations: 3.277 MB / 0.7427 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.8679, allocations: 7.938 kB / 0.7427 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.8682, allocations: 83.95 kB / 0.7428 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/0.8685, allocations: 247.7 kB / 0.7431 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/0.8736, allocations: 3.099 MB / 0.7461 GB, free: 15.98 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.02/0.8936, allocations: 13.81 MB / 0.7596 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2948/1.188, allocations: 2.199 MB / 0.7617 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/1.19, allocations: 1.177 MB / 0.7629 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00827/1.199, allocations: 5.609 MB / 0.7683 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/1.199, allocations: 55.91 kB / 0.7684 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006253/1.199, allocations: 158.5 kB / 0.7685 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=158): time 4.078e-06/1.199, allocations: 1.406 kB / 0.7685 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259): time 0.4672/1.667, allocations: 56.28 MB / 0.8235 GB, free: 183.3 MB / 0.5919 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1178/1.784, allocations: 46.41 MB / 0.8688 GB, free: 136.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/1.787, allocations: 1.873 MB / 0.8707 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009322/1.788, allocations: 69.7 kB / 0.8707 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008621/1.789, allocations: 1.088 MB / 0.8718 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.79, allocations: 0.8644 MB / 0.8726 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.791, allocations: 0.5682 MB / 0.8732 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/1.791, allocations: 301.1 kB / 0.8735 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/1.795, allocations: 2.18 MB / 0.8756 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/1.798, allocations: 2.822 MB / 0.8784 GB, free: 126.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008485/1.807, allocations: 5.453 MB / 0.8837 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.807, allocations: 4 kB / 0.8837 GB, free: 120.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.0122/1.819, allocations: 7.502 MB / 0.891 GB, free: 113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.819, allocations: 12 kB / 0.891 GB, free: 113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1.819, allocations: 20 kB / 0.891 GB, free: 113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04056/1.859, allocations: 12.26 MB / 0.903 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/1.861, allocations: 351.4 kB / 0.9034 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/1.875, allocations: 8.651 MB / 0.9118 GB, free: 91.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003374/1.879, allocations: 195.8 kB / 0.912 GB, free: 91.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/1.879, allocations: 151.9 kB / 0.9121 GB, free: 91.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004107/1.883, allocations: 2.676 MB / 0.9147 GB, free: 88.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003323/1.887, allocations: 2.759 MB / 0.9174 GB, free: 85.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008345/1.895, allocations: 5.336 MB / 0.9226 GB, free: 79.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.018e-05/1.895, allocations: 8 kB / 0.9227 GB, free: 79.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01169/1.907, allocations: 7.228 MB / 0.9297 GB, free: 72.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.907, allocations: 19.92 kB / 0.9297 GB, free: 72.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.907, allocations: 20 kB / 0.9298 GB, free: 72.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02134/1.928, allocations: 7.743 MB / 0.9373 GB, free: 64.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.93, allocations: 387.4 kB / 0.9377 GB, free: 64.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/1.943, allocations: 8.169 MB / 0.9457 GB, free: 56.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/1.946, allocations: 187.8 kB / 0.9458 GB, free: 56.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/1.947, allocations: 147.9 kB / 0.946 GB, free: 55.93 MB / 0.5919 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.0007246/1.947, allocations: 339.8 kB / 0.9463 GB, free: 55.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/1.948, allocations: 248.9 kB / 0.9465 GB, free: 55.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.961, allocations: 7.846 MB / 0.9542 GB, free: 47.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/1.961, allocations: 39.98 kB / 0.9542 GB, free: 47.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.961, allocations: 0 / 0.9542 GB, free: 47.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0111/1.972, allocations: 6.904 MB / 0.961 GB, free: 40.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/1.994, allocations: 13.77 MB / 0.9744 GB, free: 26.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.994, allocations: 0 / 0.9744 GB, free: 26.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/1.995, allocations: 191.9 kB / 0.9746 GB, free: 26.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0384/2.033, allocations: 11.68 MB / 0.986 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008702/2.034, allocations: 83.95 kB / 0.9861 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/2.048, allocations: 8.358 MB / 0.9943 GB, free: 6.156 MB / 0.5919 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.4018/2.45, allocations: 43.2 MB / 1.036 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/2.467, allocations: 10.46 MB / 1.047 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/2.469, allocations: 0.8104 MB / 1.047 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/2.469, allocations: 52 kB / 1.048 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/2.472, allocations: 163.6 kB / 1.048 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004099/2.472, allocations: 205.7 kB / 1.048 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/2.472, allocations: 108 kB / 1.048 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001367/2.474, allocations: 1.277 MB / 1.049 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/2.474, allocations: 3.938 kB / 1.049 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007026/2.481, allocations: 2.891 MB / 1.052 GB, free: 190.7 MB / 0.5919 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.006552/2.487, allocations: 2.094 MB / 1.054 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02123/2.509, allocations: 9.221 MB / 1.063 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/2.509, allocations: 0 / 1.063 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00804/2.517, allocations: 3.222 MB / 1.066 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/2.522, allocations: 1.038 MB / 1.067 GB, free: 175.5 MB / 0.5919 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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]