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.001069/0.001069, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.001111/0.001111, allocations: 198.4 kB / 18.02 MB, free: 5.047 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.293/1.293, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1984/0.1984, allocations: 43.52 MB / 314.8 MB, free: 460 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.001396/0.001396, allocations: 70.03 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3259/0.4359, allocations: 90.17 MB / 0.5766 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03178/0.4677, allocations: 21.3 MB / 0.5974 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.4712, allocations: 88.12 kB / 0.5975 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.4747, allocations: 0.9332 MB / 0.5984 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.4858, allocations: 3.731 MB / 0.6021 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01332/0.4992, allocations: 5.626 MB / 0.6076 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009264/0.5085, allocations: 6.886 MB / 0.6143 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/0.5118, allocations: 1.817 MB / 0.6161 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1803/0.6921, allocations: 74.86 MB / 0.6892 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07669/0.7689, allocations: 31.9 MB / 0.7203 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.7701, allocations: 244 kB / 0.7206 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.7859, allocations: 6.085 MB / 0.7265 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002436/0.7884, allocations: 1.075 MB / 0.7275 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003804/0.7922, allocations: 1.485 MB / 0.729 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.804, allocations: 5.504 MB / 0.7344 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8041, allocations: 0 / 0.7344 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8041, allocations: 0 / 0.7344 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001798/0.8043, allocations: 0 / 0.7344 GB, free: 12.94 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.01049/0.8147, allocations: 3.484 MB / 0.7378 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.8148, allocations: 15.89 kB / 0.7378 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.8162, allocations: 304.6 kB / 0.7381 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.8204, allocations: 1.676 MB / 0.7397 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.8207, allocations: 219 kB / 0.7399 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005568/0.8212, allocations: 180 kB / 0.7401 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007025/0.8283, allocations: 3.277 MB / 0.7433 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-05/0.8284, allocations: 4 kB / 0.7433 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004853/0.8289, allocations: 83.95 kB / 0.7434 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/0.8293, allocations: 255.6 kB / 0.7436 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006794/0.8361, allocations: 3.099 MB / 0.7467 GB, free: 100 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.02378/0.8599, allocations: 13.81 MB / 0.7601 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2457/1.106, allocations: 2.192 MB / 0.7623 GB, free: 225.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/1.108, allocations: 1.179 MB / 0.7634 GB, free: 225.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009065/1.117, allocations: 5.614 MB / 0.7689 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/1.117, allocations: 51.02 kB / 0.769 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006935/1.118, allocations: 161.1 kB / 0.7691 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=158): time 4.619e-06/1.118, allocations: 3.406 kB / 0.7691 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259): time 0.5206/1.638, allocations: 56.28 MB / 0.8241 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.1301/1.768, allocations: 46.43 MB / 0.8694 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.77, allocations: 1.865 MB / 0.8712 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006249/1.771, allocations: 73.7 kB / 0.8713 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/1.772, allocations: 1.084 MB / 0.8724 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007009/1.772, allocations: 0.865 MB / 0.8732 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009819/1.773, allocations: 0.5643 MB / 0.8738 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/1.773, allocations: 305.2 kB / 0.8741 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/1.777, allocations: 2.184 MB / 0.8762 GB, free: 130.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/1.781, allocations: 2.818 MB / 0.8789 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009717/1.79, allocations: 5.453 MB / 0.8843 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/1.79, allocations: 4 kB / 0.8843 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01392/1.804, allocations: 7.503 MB / 0.8916 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/1.804, allocations: 16.19 kB / 0.8916 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.804, allocations: 20 kB / 0.8916 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04329/1.848, allocations: 12.27 MB / 0.9036 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.849, allocations: 351.4 kB / 0.9039 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/1.865, allocations: 8.635 MB / 0.9124 GB, free: 92.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.869, allocations: 199.8 kB / 0.9126 GB, free: 92.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000421/1.869, allocations: 147.9 kB / 0.9127 GB, free: 92.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004308/1.874, allocations: 2.684 MB / 0.9153 GB, free: 89.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003559/1.877, allocations: 2.751 MB / 0.918 GB, free: 86.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008911/1.886, allocations: 5.336 MB / 0.9232 GB, free: 80.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.664e-05/1.886, allocations: 8 kB / 0.9232 GB, free: 80.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01286/1.899, allocations: 7.228 MB / 0.9303 GB, free: 73.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.899, allocations: 16.09 kB / 0.9303 GB, free: 73.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/1.899, allocations: 24 kB / 0.9303 GB, free: 73.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02367/1.923, allocations: 7.746 MB / 0.9379 GB, free: 65.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.925, allocations: 387.4 kB / 0.9383 GB, free: 65.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/1.939, allocations: 8.162 MB / 0.9462 GB, free: 57.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/1.943, allocations: 195.8 kB / 0.9464 GB, free: 56.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/1.943, allocations: 151.9 kB / 0.9466 GB, free: 56.67 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.0008494/1.944, allocations: 335.8 kB / 0.9469 GB, free: 56.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/1.945, allocations: 248.9 kB / 0.9471 GB, free: 56.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.959, allocations: 7.843 MB / 0.9548 GB, free: 48.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/1.959, allocations: 32 kB / 0.9548 GB, free: 48.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.959, allocations: 0 / 0.9548 GB, free: 48.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01187/1.971, allocations: 6.915 MB / 0.9616 GB, free: 41.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.995, allocations: 13.77 MB / 0.975 GB, free: 27.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.995, allocations: 0 / 0.975 GB, free: 27.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/1.996, allocations: 191.8 kB / 0.9752 GB, free: 27.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04174/2.038, allocations: 11.69 MB / 0.9866 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006414/2.039, allocations: 83.95 kB / 0.9867 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/2.053, allocations: 8.35 MB / 0.9948 GB, free: 6.91 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.3667/2.42, allocations: 43.21 MB / 1.037 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/2.438, allocations: 10.44 MB / 1.047 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/2.44, allocations: 0.8076 MB / 1.048 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/2.44, allocations: 55.94 kB / 1.048 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/2.443, allocations: 170.9 kB / 1.048 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/2.443, allocations: 205.8 kB / 1.048 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/2.444, allocations: 112 kB / 1.049 GB, free: 196 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001485/2.445, allocations: 1.274 MB / 1.05 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/2.445, allocations: 0 / 1.05 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007813/2.453, allocations: 2.888 MB / 1.053 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.008378/2.461, allocations: 2.092 MB / 1.055 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02607/2.487, allocations: 9.229 MB / 1.064 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.488, allocations: 0 / 1.064 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009022/2.497, allocations: 3.203 MB / 1.067 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005061/2.502, allocations: 1.042 MB / 1.068 GB, free: 176.7 MB / 0.5919 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]