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.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.001329/0.001329, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.001431/0.001431, allocations: 169.3 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 158.6 MB / 185.5 MB, free: 6.156 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2108/0.2108, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 67.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1203, allocations: 61.05 MB / 468.8 MB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3124/0.4327, allocations: 81.49 MB / 0.5374 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03704/0.4698, allocations: 19.56 MB / 0.5565 GB, free: 2.137 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/0.475, allocations: 123.8 kB / 0.5566 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.4789, allocations: 0.9196 MB / 0.5575 GB, free: 1.285 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.4917, allocations: 3.875 MB / 0.5613 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01661/0.5083, allocations: 5.903 MB / 0.5671 GB, free: 9.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.5194, allocations: 7.195 MB / 0.5741 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.5227, allocations: 1.591 MB / 0.5757 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1971/0.7199, allocations: 74.52 MB / 0.6484 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08826/0.8081, allocations: 31.89 MB / 0.6796 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.8098, allocations: 248 kB / 0.6798 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3614/1.171, allocations: 5.405 MB / 0.6851 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00253/1.174, allocations: 1.1 MB / 0.6862 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003416/1.177, allocations: 1.256 MB / 0.6874 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/1.192, allocations: 5.388 MB / 0.6927 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.192, allocations: 0 / 0.6927 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.136e-06/1.192, allocations: 0.7812 kB / 0.6927 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001161/1.192, allocations: 0 / 0.6927 GB, free: 109.1 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.01028/1.202, allocations: 3.516 MB / 0.6961 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.202, allocations: 10.56 kB / 0.6961 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.203, allocations: 324.7 kB / 0.6964 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/1.207, allocations: 1.58 MB / 0.698 GB, free: 107 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/1.207, allocations: 268.8 kB / 0.6982 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/1.207, allocations: 188 kB / 0.6984 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/1.213, allocations: 3.65 MB / 0.702 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.123e-05/1.213, allocations: 9.656 kB / 0.702 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/1.213, allocations: 80.94 kB / 0.702 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003404/1.213, allocations: 251.5 kB / 0.7023 GB, free: 106 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005685/1.219, allocations: 3.093 MB / 0.7053 GB, free: 106 MB / 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.02051/1.239, allocations: 9.798 MB / 0.7149 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/1.244, allocations: 2.081 MB / 0.7169 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/1.246, allocations: 1.106 MB / 0.718 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008198/1.254, allocations: 3.235 MB / 0.7211 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.254, allocations: 55.25 kB / 0.7212 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007409/1.255, allocations: 128.3 kB / 0.7213 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 1.929e-05/1.255, allocations: 0 / 0.7213 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.5121/1.767, allocations: 55.97 MB / 0.776 GB, free: 63.62 MB / 0.5762 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1347/1.902, allocations: 45.23 MB / 0.8201 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.904, allocations: 1.51 MB / 0.8216 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006883/1.905, allocations: 69.64 kB / 0.8217 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/1.905, allocations: 1.112 MB / 0.8228 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.906, allocations: 0.9157 MB / 0.8237 GB, free: 15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/1.908, allocations: 0.5644 MB / 0.8242 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/1.908, allocations: 301.1 kB / 0.8245 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/1.912, allocations: 2.184 MB / 0.8266 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004071/1.916, allocations: 2.815 MB / 0.8294 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/1.926, allocations: 5.459 MB / 0.8347 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/1.926, allocations: 4 kB / 0.8347 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01678/1.943, allocations: 7.384 MB / 0.8419 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/1.943, allocations: 12 kB / 0.8419 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/1.943, allocations: 20 kB / 0.842 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05108/1.994, allocations: 12.25 MB / 0.8539 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.996, allocations: 350 kB / 0.8543 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/2.017, allocations: 8.643 MB / 0.8627 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/2.021, allocations: 195.8 kB / 0.8629 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007976/2.021, allocations: 151.9 kB / 0.863 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006269/2.028, allocations: 2.68 MB / 0.8656 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005265/2.033, allocations: 2.757 MB / 0.8683 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01226/2.045, allocations: 5.33 MB / 0.8735 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.149e-05/2.045, allocations: 8 kB / 0.8736 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01674/2.062, allocations: 7.126 MB / 0.8805 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/2.062, allocations: 16 kB / 0.8805 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/2.062, allocations: 20 kB / 0.8805 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0281/2.09, allocations: 7.743 MB / 0.8881 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/2.092, allocations: 383.2 kB / 0.8885 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/2.111, allocations: 8.178 MB / 0.8965 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/2.115, allocations: 195.8 kB / 0.8966 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000676/2.116, allocations: 147.9 kB / 0.8968 GB, free: 3.215 MB / 0.6387 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.001214/2.117, allocations: 332.1 kB / 0.8971 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/2.118, allocations: 246.4 kB / 0.8973 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/2.136, allocations: 7.705 MB / 0.9049 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.512e-05/2.136, allocations: 28 kB / 0.9049 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.136, allocations: 0 / 0.9049 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01588/2.152, allocations: 6.809 MB / 0.9115 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/2.185, allocations: 12.86 MB / 0.9241 GB, free: 7.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/2.185, allocations: 0 / 0.9241 GB, free: 7.074 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/2.186, allocations: 194 kB / 0.9243 GB, free: 6.895 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3411/2.527, allocations: 11.67 MB / 0.9357 GB, free: 274.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009564/2.528, allocations: 84.14 kB / 0.9358 GB, free: 274.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/2.544, allocations: 8.371 MB / 0.9439 GB, free: 272.6 MB / 0.67 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.1369/2.68, allocations: 42.12 MB / 0.9851 GB, free: 258.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/2.699, allocations: 10.33 MB / 0.9952 GB, free: 248.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/2.701, allocations: 0.7143 MB / 0.9958 GB, free: 247.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/2.701, allocations: 52 kB / 0.9959 GB, free: 247.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/2.703, allocations: 171.9 kB / 0.9961 GB, free: 247.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/2.704, allocations: 211.1 kB / 0.9963 GB, free: 247.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002792/2.704, allocations: 108 kB / 0.9964 GB, free: 247.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001115/2.705, allocations: 0.9829 MB / 0.9973 GB, free: 246.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/2.705, allocations: 0 / 0.9973 GB, free: 246.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008337/2.714, allocations: 2.904 MB / 1 GB, free: 243.6 MB / 0.67 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.008778/2.722, allocations: 2.125 MB / 1.002 GB, free: 241.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02438/2.747, allocations: 8.808 MB / 1.011 GB, free: 232.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.747, allocations: 5 kB / 1.011 GB, free: 232.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008621/2.755, allocations: 3.012 MB / 1.014 GB, free: 229.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/2.761, allocations: 0.9363 MB / 1.015 GB, free: 228.8 MB / 0.67 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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 657] [Calling sys.exit(0), Time elapsed: 5.448108869954012] 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.77070618304424 2.779585688 1.585178849 Calling exit ...