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.001151/0.001151, allocations: 110.7 kB / 16.41 MB, free: 6.48 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.001142/0.001142, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.547/1.547, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.209/0.209, allocations: 43.53 MB / 314.1 MB, free: 456 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.001374/0.001374, allocations: 71.89 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1224, allocations: 57.78 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.317/0.4394, allocations: 90.18 MB / 0.576 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03011/0.4695, allocations: 21.3 MB / 0.5968 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.4723, allocations: 89.75 kB / 0.5969 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.4755, allocations: 0.9387 MB / 0.5978 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.4867, allocations: 3.727 MB / 0.6014 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.4995, allocations: 5.625 MB / 0.6069 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009297/0.5088, allocations: 6.897 MB / 0.6137 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.512, allocations: 1.798 MB / 0.6154 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1527/0.6647, allocations: 74.87 MB / 0.6885 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.062/0.7267, allocations: 31.9 MB / 0.7197 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009091/0.7277, allocations: 248 kB / 0.7199 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/0.7414, allocations: 6.085 MB / 0.7259 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002438/0.7438, allocations: 1.067 MB / 0.7269 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00246/0.7463, allocations: 1.489 MB / 0.7283 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.7569, allocations: 5.501 MB / 0.7337 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7569, allocations: 4 kB / 0.7337 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7569, allocations: 0 / 0.7337 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.058e-05/0.757, allocations: 0 / 0.7337 GB, free: 12.92 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.008379/0.7654, allocations: 3.484 MB / 0.7371 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.7654, allocations: 15.89 kB / 0.7371 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009761/0.7664, allocations: 300.6 kB / 0.7374 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.7694, allocations: 1.676 MB / 0.7391 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.7696, allocations: 215.1 kB / 0.7393 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.7699, allocations: 184 kB / 0.7394 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00505/0.775, allocations: 3.281 MB / 0.7426 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/0.7751, allocations: 3.938 kB / 0.7427 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.7753, allocations: 87.89 kB / 0.7427 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002985/0.7756, allocations: 251.7 kB / 0.743 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/0.7805, allocations: 3.095 MB / 0.746 GB, free: 84 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.01826/0.7988, allocations: 13.81 MB / 0.7595 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2308/1.03, allocations: 2.194 MB / 0.7616 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/1.032, allocations: 1.177 MB / 0.7628 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00963/1.042, allocations: 5.617 MB / 0.7683 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.042, allocations: 48.34 kB / 0.7683 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006925/1.042, allocations: 163 kB / 0.7685 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=158): time 3.757e-06/1.043, allocations: 3.25 kB / 0.7685 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259): time 0.5334/1.576, allocations: 56.28 MB / 0.8234 GB, free: 184.1 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.1584/1.734, allocations: 46.42 MB / 0.8688 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.736, allocations: 1.866 MB / 0.8706 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005466/1.737, allocations: 65.7 kB / 0.8707 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/1.738, allocations: 1.091 MB / 0.8717 GB, free: 134 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007196/1.738, allocations: 0.8641 MB / 0.8726 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009709/1.739, allocations: 0.5682 MB / 0.8731 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.259e-05/1.739, allocations: 301.2 kB / 0.8734 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/1.743, allocations: 2.18 MB / 0.8755 GB, free: 130.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/1.747, allocations: 2.818 MB / 0.8783 GB, free: 127 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00976/1.756, allocations: 5.453 MB / 0.8836 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.756, allocations: 8 kB / 0.8836 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01387/1.77, allocations: 7.503 MB / 0.8909 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.77, allocations: 12 kB / 0.891 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/1.77, allocations: 24.09 kB / 0.891 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04424/1.815, allocations: 12.26 MB / 0.903 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.816, allocations: 347.4 kB / 0.9033 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.832, allocations: 8.642 MB / 0.9117 GB, free: 92.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/1.836, allocations: 195.8 kB / 0.9119 GB, free: 92.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003665/1.836, allocations: 155.9 kB / 0.9121 GB, free: 92.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004306/1.84, allocations: 2.676 MB / 0.9147 GB, free: 89.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003672/1.844, allocations: 2.751 MB / 0.9174 GB, free: 86.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009514/1.854, allocations: 5.336 MB / 0.9226 GB, free: 80.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-05/1.854, allocations: 7.984 kB / 0.9226 GB, free: 80.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01374/1.867, allocations: 7.232 MB / 0.9296 GB, free: 73.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.867, allocations: 19.88 kB / 0.9297 GB, free: 73.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/1.867, allocations: 20.06 kB / 0.9297 GB, free: 73.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02519/1.893, allocations: 7.738 MB / 0.9372 GB, free: 65.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.895, allocations: 391.4 kB / 0.9376 GB, free: 65.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.909, allocations: 8.165 MB / 0.9456 GB, free: 57.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/1.913, allocations: 191.8 kB / 0.9458 GB, free: 56.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003932/1.913, allocations: 147.9 kB / 0.9459 GB, free: 56.68 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.0008527/1.914, allocations: 343.8 kB / 0.9462 GB, free: 56.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007141/1.915, allocations: 248.9 kB / 0.9465 GB, free: 56.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.929, allocations: 7.843 MB / 0.9541 GB, free: 48.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/1.929, allocations: 35.94 kB / 0.9542 GB, free: 48.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.929, allocations: 0 / 0.9542 GB, free: 48.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01241/1.942, allocations: 6.908 MB / 0.9609 GB, free: 41.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/1.966, allocations: 13.78 MB / 0.9744 GB, free: 27.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.967, allocations: 4 kB / 0.9744 GB, free: 27.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009312/1.967, allocations: 191.7 kB / 0.9746 GB, free: 27.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04351/2.011, allocations: 11.67 MB / 0.9859 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000726/2.012, allocations: 83.95 kB / 0.986 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/2.027, allocations: 8.357 MB / 0.9942 GB, free: 6.906 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.4167/2.444, allocations: 43.21 MB / 1.036 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/2.462, allocations: 10.45 MB / 1.047 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/2.464, allocations: 0.8088 MB / 1.047 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/2.464, allocations: 55.92 kB / 1.047 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/2.467, allocations: 171.8 kB / 1.048 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/2.467, allocations: 194.1 kB / 1.048 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002911/2.467, allocations: 119.8 kB / 1.048 GB, free: 196 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001594/2.469, allocations: 1.273 MB / 1.049 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/2.469, allocations: 1.203 kB / 1.049 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007963/2.477, allocations: 2.888 MB / 1.052 GB, free: 192 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.007515/2.485, allocations: 2.097 MB / 1.054 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02413/2.509, allocations: 9.222 MB / 1.063 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.509, allocations: 0 / 1.063 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008742/2.518, allocations: 3.219 MB / 1.066 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005426/2.523, allocations: 1.037 MB / 1.067 GB, free: 176.7 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]