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.001571/0.001571, allocations: 115.2 kB / 17.08 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.002091/0.002091, allocations: 195 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.043/3.043, allocations: 205.1 MB / 223.9 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.4754/0.4754, allocations: 43.51 MB / 314.8 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.003024/0.003024, allocations: 67.91 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2984, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.8707/1.169, allocations: 90.22 MB / 0.5767 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.07305/1.242, allocations: 21.31 MB / 0.5975 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01119/1.254, allocations: 85.84 kB / 0.5976 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006373/1.26, allocations: 0.9274 MB / 0.5985 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02643/1.287, allocations: 3.73 MB / 0.6021 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03338/1.32, allocations: 5.63 MB / 0.6076 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02622/1.346, allocations: 6.899 MB / 0.6144 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007403/1.354, allocations: 1.809 MB / 0.6161 GB, free: 7.363 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.396/1.75, allocations: 74.86 MB / 0.6892 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1627/1.913, allocations: 31.91 MB / 0.7204 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002011/1.915, allocations: 244 kB / 0.7206 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0357/1.95, allocations: 6.081 MB / 0.7266 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003884/1.954, allocations: 1.075 MB / 0.7276 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009645/1.964, allocations: 1.478 MB / 0.7291 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03382/1.998, allocations: 5.501 MB / 0.7344 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.732e-05/1.998, allocations: 3.984 kB / 0.7344 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-05/1.998, allocations: 0 / 0.7344 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000231/1.998, allocations: 3.938 kB / 0.7344 GB, free: 12.9 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.02768/2.026, allocations: 3.481 MB / 0.7378 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.94e-05/2.026, allocations: 11.89 kB / 0.7378 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/2.029, allocations: 308.6 kB / 0.7381 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007761/2.037, allocations: 1.672 MB / 0.7398 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004776/2.038, allocations: 215.1 kB / 0.74 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/2.039, allocations: 184 kB / 0.7401 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/2.053, allocations: 3.285 MB / 0.7434 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-05/2.053, allocations: 7.938 kB / 0.7434 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005887/2.054, allocations: 79.95 kB / 0.7434 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006227/2.054, allocations: 251.7 kB / 0.7437 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/2.067, allocations: 3.099 MB / 0.7467 GB, free: 60 kB / 0.5762 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.05717/2.125, allocations: 13.81 MB / 0.7602 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5947/2.719, allocations: 2.192 MB / 0.7623 GB, free: 225.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/2.724, allocations: 1.18 MB / 0.7635 GB, free: 225.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02635/2.75, allocations: 5.614 MB / 0.769 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/2.751, allocations: 49.91 kB / 0.769 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00259/2.753, allocations: 157.4 kB / 0.7692 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=158): time 2.653e-05/2.753, allocations: 3.312 kB / 0.7692 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259): time 1.155/3.908, allocations: 56.28 MB / 0.8241 GB, free: 183.4 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.2815/4.19, allocations: 46.42 MB / 0.8695 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/4.194, allocations: 1.862 MB / 0.8713 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/4.195, allocations: 73.7 kB / 0.8714 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/4.196, allocations: 1.083 MB / 0.8724 GB, free: 133.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/4.198, allocations: 0.8679 MB / 0.8733 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/4.199, allocations: 0.5643 MB / 0.8738 GB, free: 132 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/4.2, allocations: 301.2 kB / 0.8741 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007142/4.207, allocations: 2.188 MB / 0.8762 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007986/4.215, allocations: 2.818 MB / 0.879 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02014/4.235, allocations: 5.452 MB / 0.8843 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.594e-05/4.235, allocations: 4 kB / 0.8843 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.03282/4.268, allocations: 7.503 MB / 0.8916 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/4.268, allocations: 12 kB / 0.8917 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-05/4.268, allocations: 24.12 kB / 0.8917 GB, free: 113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09488/4.363, allocations: 12.27 MB / 0.9037 GB, free: 100.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/4.366, allocations: 351.4 kB / 0.904 GB, free: 100.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03244/4.398, allocations: 8.639 MB / 0.9124 GB, free: 91.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008369/4.407, allocations: 195.8 kB / 0.9126 GB, free: 91.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/4.408, allocations: 155.9 kB / 0.9128 GB, free: 91.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009891/4.418, allocations: 2.68 MB / 0.9154 GB, free: 88.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01037/4.429, allocations: 2.759 MB / 0.9181 GB, free: 85.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02385/4.453, allocations: 5.332 MB / 0.9233 GB, free: 80.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.295e-05/4.453, allocations: 4 kB / 0.9233 GB, free: 80.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.02897/4.482, allocations: 7.225 MB / 0.9303 GB, free: 72.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/4.482, allocations: 23.92 kB / 0.9304 GB, free: 72.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/4.482, allocations: 20.09 kB / 0.9304 GB, free: 72.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05613/4.538, allocations: 7.742 MB / 0.9379 GB, free: 64.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/4.541, allocations: 383.4 kB / 0.9383 GB, free: 64.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02807/4.569, allocations: 8.169 MB / 0.9463 GB, free: 56.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006997/4.577, allocations: 191.8 kB / 0.9465 GB, free: 56.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/4.578, allocations: 147.9 kB / 0.9466 GB, free: 56.02 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.001604/4.579, allocations: 339.8 kB / 0.9469 GB, free: 55.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/4.581, allocations: 248.9 kB / 0.9472 GB, free: 55.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03531/4.616, allocations: 7.843 MB / 0.9548 GB, free: 47.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.365e-05/4.616, allocations: 35.98 kB / 0.9549 GB, free: 47.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/4.616, allocations: 0 / 0.9549 GB, free: 47.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03934/4.656, allocations: 6.915 MB / 0.9616 GB, free: 40.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06854/4.724, allocations: 13.77 MB / 0.9751 GB, free: 26.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.839e-05/4.724, allocations: 0 / 0.9751 GB, free: 26.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/4.726, allocations: 195.7 kB / 0.9753 GB, free: 26.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09385/4.82, allocations: 11.67 MB / 0.9866 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/4.821, allocations: 87.95 kB / 0.9867 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/4.85, allocations: 8.358 MB / 0.9949 GB, free: 6.246 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.8422/5.692, allocations: 43.21 MB / 1.037 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03228/5.724, allocations: 10.44 MB / 1.047 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003931/5.728, allocations: 0.8126 MB / 1.048 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001531/5.73, allocations: 51.94 kB / 1.048 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005247/5.735, allocations: 174.6 kB / 1.048 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/5.736, allocations: 198.1 kB / 1.048 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006046/5.737, allocations: 108 kB / 1.049 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002865/5.74, allocations: 1.281 MB / 1.05 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/5.74, allocations: 0 / 1.05 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01725/5.757, allocations: 2.886 MB / 1.053 GB, free: 190.8 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.01453/5.772, allocations: 2.096 MB / 1.055 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.05778/5.83, allocations: 9.226 MB / 1.064 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/5.83, allocations: 3.719 kB / 1.064 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02384/5.854, allocations: 3.204 MB / 1.067 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/5.864, allocations: 1.044 MB / 1.068 GB, free: 175.6 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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]