Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 84 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 163.6 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.214/0.214, allocations: 34.28 MB / 294.9 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.306e-05, allocations: 2.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2631/0.2631, allocations: 81.38 MB / 0.5118 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03306/0.2962, allocations: 19.6 MB / 0.5309 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.2989, allocations: 126.9 kB / 0.5311 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.3017, allocations: 0.9275 MB / 0.532 GB, free: 168 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.3127, allocations: 3.998 MB / 0.5359 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01748/0.3302, allocations: 6.7 MB / 0.5424 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.3402, allocations: 6.812 MB / 0.5491 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.3431, allocations: 1.557 MB / 0.5506 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1967/0.5398, allocations: 75.3 MB / 0.6241 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3178/0.8576, allocations: 31.72 MB / 0.6551 GB, free: 87.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.8594, allocations: 245.2 kB / 0.6553 GB, free: 87.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/0.8752, allocations: 5.448 MB / 0.6607 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.8774, allocations: 1.158 MB / 0.6618 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003265/0.8807, allocations: 1.066 MB / 0.6628 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.8948, allocations: 5.717 MB / 0.6684 GB, free: 86.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.8948, allocations: 0 / 0.6684 GB, free: 86.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8948, allocations: 5.75 kB / 0.6684 GB, free: 86.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002183/0.895, allocations: 3.844 kB / 0.6684 GB, free: 86.4 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.01084/0.9058, allocations: 3.485 MB / 0.6718 GB, free: 84.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.9059, allocations: 10.25 kB / 0.6718 GB, free: 84.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.907, allocations: 322.5 kB / 0.6721 GB, free: 84.72 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.9098, allocations: 1.584 MB / 0.6737 GB, free: 84.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.91, allocations: 268.5 kB / 0.6739 GB, free: 84.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.9103, allocations: 192.3 kB / 0.6741 GB, free: 84.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.915, allocations: 3.649 MB / 0.6777 GB, free: 83.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.915, allocations: 7.375 kB / 0.6777 GB, free: 83.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.9153, allocations: 85.77 kB / 0.6778 GB, free: 83.33 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002723/0.9156, allocations: 260.3 kB / 0.678 GB, free: 83.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004424/0.92, allocations: 3.087 MB / 0.681 GB, free: 83.31 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.01506/0.935, allocations: 9.759 MB / 0.6906 GB, free: 80.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.9387, allocations: 2.089 MB / 0.6926 GB, free: 80.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.9403, allocations: 1.106 MB / 0.6937 GB, free: 79.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006343/0.9466, allocations: 3.236 MB / 0.6969 GB, free: 79.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.9466, allocations: 54.78 kB / 0.6969 GB, free: 79.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006032/0.9472, allocations: 127.9 kB / 0.697 GB, free: 79.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=158): time 3.987e-06/0.9473, allocations: 0 / 0.697 GB, free: 79.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259): time 0.5262/1.473, allocations: 54.98 MB / 0.7507 GB, free: 26.73 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.1414/1.615, allocations: 44.33 MB / 0.794 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.617, allocations: 1.503 MB / 0.7955 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006737/1.618, allocations: 73.7 kB / 0.7955 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009176/1.619, allocations: 1.107 MB / 0.7966 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.62, allocations: 0.9042 MB / 0.7975 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/1.621, allocations: 0.5644 MB / 0.7981 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.621, allocations: 305.2 kB / 0.7983 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/1.626, allocations: 2.175 MB / 0.8005 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005037/1.631, allocations: 2.819 MB / 0.8032 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.644, allocations: 5.423 MB / 0.8085 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/1.644, allocations: 4 kB / 0.8085 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01782/1.661, allocations: 7.359 MB / 0.8157 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/1.661, allocations: 15.94 kB / 0.8157 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/1.662, allocations: 20 kB / 0.8157 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05007/1.712, allocations: 11.82 MB / 0.8273 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/1.713, allocations: 348 kB / 0.8276 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/1.733, allocations: 8.628 MB / 0.8361 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/1.737, allocations: 195.8 kB / 0.8362 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/1.738, allocations: 151.9 kB / 0.8364 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005844/1.744, allocations: 2.676 MB / 0.839 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005041/1.749, allocations: 2.764 MB / 0.8417 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0118/1.761, allocations: 5.288 MB / 0.8469 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.939e-05/1.761, allocations: 8 kB / 0.8469 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01669/1.777, allocations: 7.104 MB / 0.8538 GB, free: 116 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/1.777, allocations: 18.8 kB / 0.8538 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/1.777, allocations: 16 kB / 0.8538 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02861/1.806, allocations: 7.675 MB / 0.8613 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.808, allocations: 390.3 kB / 0.8617 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2325/2.041, allocations: 8.138 MB / 0.8697 GB, free: 264.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/2.045, allocations: 196.9 kB / 0.8698 GB, free: 264.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006108/2.046, allocations: 146.6 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.0009426/2.047, allocations: 335.4 kB / 0.8703 GB, free: 263.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008336/2.048, allocations: 236.1 kB / 0.8705 GB, free: 263.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/2.067, allocations: 7.699 MB / 0.878 GB, free: 262.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.444e-05/2.067, allocations: 31.22 kB / 0.8781 GB, free: 262.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/2.067, allocations: 1.859 kB / 0.8781 GB, free: 262.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01585/2.083, allocations: 6.78 MB / 0.8847 GB, free: 260 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/2.11, allocations: 12.82 MB / 0.8972 GB, free: 255 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/2.11, allocations: 4.531 kB / 0.8972 GB, free: 255 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/2.111, allocations: 188.6 kB / 0.8974 GB, free: 255 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04319/2.154, allocations: 11.25 MB / 0.9084 GB, free: 253.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009919/2.155, allocations: 86.73 kB / 0.9085 GB, free: 253.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/2.17, allocations: 8.338 MB / 0.9166 GB, free: 247.6 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.1235/2.294, allocations: 41.16 MB / 0.9568 GB, free: 206.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/2.312, allocations: 10.31 MB / 0.9669 GB, free: 196.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/2.314, allocations: 0.7127 MB / 0.9676 GB, free: 195.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/2.314, allocations: 55.98 kB / 0.9676 GB, free: 195.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/2.317, allocations: 163.9 kB / 0.9678 GB, free: 195.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005012/2.318, allocations: 225.8 kB / 0.968 GB, free: 195.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002939/2.318, allocations: 108 kB / 0.9681 GB, free: 195.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00114/2.319, allocations: 0.9751 MB / 0.969 GB, free: 194.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/2.319, allocations: 0 / 0.969 GB, free: 194.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007135/2.326, allocations: 2.912 MB / 0.9719 GB, free: 191.5 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.007948/2.334, allocations: 2.264 MB / 0.9741 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02408/2.358, allocations: 8.797 MB / 0.9827 GB, free: 180.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.358, allocations: 8.125 kB / 0.9827 GB, free: 180.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.009119/2.367, allocations: 3.02 MB / 0.9856 GB, free: 177.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004959/2.372, allocations: 0.9611 MB / 0.9866 GB, free: 176.6 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: 4.939364153891802] 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.3819334283471107 2.390607536 1.4933308250000001 Calling exit ...