Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 83.08 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001557/0.001557, allocations: 157.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.84e-05, allocations: 8.75 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.264/0.264, allocations: 81.37 MB / 0.5118 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0349/0.2989, allocations: 19.6 MB / 0.5309 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.302, allocations: 122.9 kB / 0.531 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002878/0.3049, allocations: 0.9276 MB / 0.5319 GB, free: 16 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.3159, allocations: 3.998 MB / 0.5358 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01628/0.3321, allocations: 6.723 MB / 0.5424 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.3424, allocations: 6.801 MB / 0.5491 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.3457, allocations: 1.552 MB / 0.5506 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1956/0.5413, allocations: 75.3 MB / 0.6241 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3323/0.8736, allocations: 31.72 MB / 0.6551 GB, free: 87.4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.8747, allocations: 244.8 kB / 0.6553 GB, free: 87.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.8899, allocations: 5.455 MB / 0.6606 GB, free: 86.45 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.8917, allocations: 1.152 MB / 0.6618 GB, free: 86.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.8936, allocations: 1.058 MB / 0.6628 GB, free: 86.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009504/0.9031, allocations: 5.729 MB / 0.6684 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9031, allocations: 0 / 0.6684 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9031, allocations: 0 / 0.6684 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.945e-05/0.9032, allocations: 0 / 0.6684 GB, free: 86.42 MB / 0.5294 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.008737/0.9119, allocations: 3.492 MB / 0.6718 GB, free: 84.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9119, allocations: 9.469 kB / 0.6718 GB, free: 84.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.9129, allocations: 325.6 kB / 0.6721 GB, free: 84.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.9157, allocations: 1.583 MB / 0.6737 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.9159, allocations: 271 kB / 0.6739 GB, free: 84.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/0.9162, allocations: 182.6 kB / 0.6741 GB, free: 84.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/0.9209, allocations: 3.654 MB / 0.6777 GB, free: 83.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.9209, allocations: 3.094 kB / 0.6777 GB, free: 83.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.9212, allocations: 89.94 kB / 0.6778 GB, free: 83.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002756/0.9215, allocations: 253.3 kB / 0.678 GB, free: 83.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/0.9261, allocations: 3.094 MB / 0.681 GB, free: 83.33 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/0.9419, allocations: 9.755 MB / 0.6906 GB, free: 80.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.9456, allocations: 2.089 MB / 0.6926 GB, free: 80.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.9472, allocations: 1.106 MB / 0.6937 GB, free: 80.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006611/0.9538, allocations: 3.243 MB / 0.6968 GB, free: 79.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.9539, allocations: 50.62 kB / 0.6969 GB, free: 79.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007441/0.9546, allocations: 128.2 kB / 0.697 GB, free: 79.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=158): time 4.488e-06/0.9546, allocations: 0 / 0.697 GB, free: 79.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259): time 0.54/1.495, allocations: 54.98 MB / 0.7507 GB, free: 26.45 MB / 0.5294 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1568/1.651, allocations: 44.33 MB / 0.794 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/1.655, allocations: 1.51 MB / 0.7955 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009599/1.656, allocations: 65.7 kB / 0.7955 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.658, allocations: 1.108 MB / 0.7966 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001917/1.66, allocations: 0.907 MB / 0.7975 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002714/1.663, allocations: 0.5605 MB / 0.798 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.663, allocations: 301.1 kB / 0.7983 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007115/1.67, allocations: 2.185 MB / 0.8005 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008167/1.678, allocations: 2.82 MB / 0.8032 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/1.691, allocations: 5.412 MB / 0.8085 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/1.691, allocations: 7.984 kB / 0.8085 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01852/1.71, allocations: 7.353 MB / 0.8157 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/1.71, allocations: 15.94 kB / 0.8157 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.231e-05/1.71, allocations: 20 kB / 0.8157 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05065/1.761, allocations: 11.83 MB / 0.8273 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/1.763, allocations: 348.6 kB / 0.8276 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02366/1.787, allocations: 8.625 MB / 0.836 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00562/1.792, allocations: 195.8 kB / 0.8362 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/1.794, allocations: 151.9 kB / 0.8364 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007227/1.801, allocations: 2.678 MB / 0.839 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005832/1.807, allocations: 2.759 MB / 0.8417 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0133/1.82, allocations: 5.293 MB / 0.8469 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.391e-05/1.82, allocations: 8 kB / 0.8469 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01849/1.838, allocations: 7.102 MB / 0.8538 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/1.838, allocations: 12 kB / 0.8538 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/1.838, allocations: 20.09 kB / 0.8538 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02927/1.868, allocations: 7.674 MB / 0.8613 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/1.87, allocations: 393.2 kB / 0.8617 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2343/2.104, allocations: 8.135 MB / 0.8696 GB, free: 264.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/2.109, allocations: 195.8 kB / 0.8698 GB, free: 264.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009822/2.11, allocations: 147.3 kB / 0.87 GB, free: 264.1 MB / 0.6231 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.001441/2.111, allocations: 338.2 kB / 0.8703 GB, free: 263.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/2.112, allocations: 235.3 kB / 0.8705 GB, free: 263.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/2.132, allocations: 7.69 MB / 0.878 GB, free: 262.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.673e-05/2.133, allocations: 33.27 kB / 0.8781 GB, free: 262.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/2.133, allocations: 1.25 kB / 0.8781 GB, free: 262.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01586/2.148, allocations: 6.784 MB / 0.8847 GB, free: 259.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02888/2.177, allocations: 12.81 MB / 0.8972 GB, free: 254.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/2.177, allocations: 6.5 kB / 0.8972 GB, free: 254.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/2.178, allocations: 186.9 kB / 0.8974 GB, free: 254.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04303/2.221, allocations: 11.25 MB / 0.9084 GB, free: 253.6 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008685/2.222, allocations: 84.22 kB / 0.9084 GB, free: 253.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/2.238, allocations: 8.34 MB / 0.9166 GB, free: 247.2 MB / 0.6231 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.1283/2.367, allocations: 41.18 MB / 0.9568 GB, free: 206.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/2.387, allocations: 10.29 MB / 0.9669 GB, free: 196 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/2.389, allocations: 0.7167 MB / 0.9676 GB, free: 195.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000798/2.39, allocations: 55.98 kB / 0.9676 GB, free: 195.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/2.393, allocations: 166.5 kB / 0.9678 GB, free: 195.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/2.393, allocations: 216.6 kB / 0.968 GB, free: 194.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/2.394, allocations: 104 kB / 0.9681 GB, free: 194.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001541/2.395, allocations: 0.979 MB / 0.969 GB, free: 193.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/2.395, allocations: 0 / 0.969 GB, free: 193.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008567/2.404, allocations: 2.911 MB / 0.9719 GB, free: 191.2 MB / 0.6231 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.008723/2.412, allocations: 2.262 MB / 0.9741 GB, free: 189 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02532/2.438, allocations: 8.808 MB / 0.9827 GB, free: 180.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/2.438, allocations: 0 / 0.9827 GB, free: 180.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.009296/2.447, allocations: 3.017 MB / 0.9856 GB, free: 177.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005062/2.452, allocations: 0.953 MB / 0.9866 GB, free: 176.2 MB / 0.6231 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 5.0719805136322975] Failed to read output from testmodel.py, exit status != 0: ['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'] 2.462042022496462 2.471636949 1.565935716 Calling exit ...