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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 188.4 kB / 22.98 MB, free: 5.016 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.493/1.493, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.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.2329/0.2329, allocations: 44.23 MB / 330.2 MB, free: 9.559 MB / 270.1 MB " [Timeout remaining time 179] 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=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.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.002507/0.002507, allocations: 70.55 kB / 468 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1333, allocations: 61.04 MB / 0.5166 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.383/0.5162, allocations: 91.36 MB / 0.6058 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03743/0.5537, allocations: 21.48 MB / 0.6268 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.5567, allocations: 126.6 kB / 0.6269 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.5595, allocations: 0.9626 MB / 0.6279 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.5707, allocations: 3.879 MB / 0.6317 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01532/0.586, allocations: 6.007 MB / 0.6375 GB, free: 7.035 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.5974, allocations: 7.253 MB / 0.6446 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.6009, allocations: 1.573 MB / 0.6461 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1889/0.7898, allocations: 74.39 MB / 0.7188 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07864/0.8685, allocations: 31.85 MB / 0.7499 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009068/0.8694, allocations: 248 kB / 0.7501 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.8858, allocations: 6.137 MB / 0.7561 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002428/0.8882, allocations: 1.11 MB / 0.7572 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002969/0.8912, allocations: 1.485 MB / 0.7587 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01601/0.9072, allocations: 5.536 MB / 0.7641 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9072, allocations: 0 / 0.7641 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9072, allocations: 0 / 0.7641 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001131/0.9073, allocations: 0 / 0.7641 GB, free: 4.262 MB / 0.5919 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.01088/0.9182, allocations: 3.504 MB / 0.7675 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.9183, allocations: 8.031 kB / 0.7675 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.9195, allocations: 322.1 kB / 0.7678 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2783/1.198, allocations: 1.577 MB / 0.7693 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/1.198, allocations: 213.3 kB / 0.7695 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007062/1.199, allocations: 182.5 kB / 0.7697 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006933/1.206, allocations: 3.273 MB / 0.7729 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/1.206, allocations: 5.938 kB / 0.7729 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/1.206, allocations: 82.5 kB / 0.773 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004416/1.206, allocations: 256.6 kB / 0.7732 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007752/1.214, allocations: 3.102 MB / 0.7763 GB, free: 213.2 MB / 0.5919 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.02415/1.238, allocations: 13.53 MB / 0.7895 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/1.243, allocations: 2.098 MB / 0.7915 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/1.245, allocations: 1.106 MB / 0.7926 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008643/1.254, allocations: 3.58 MB / 0.7961 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/1.254, allocations: 55.11 kB / 0.7962 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009778/1.255, allocations: 160.2 kB / 0.7963 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=158): time 4.398e-06/1.255, allocations: 3.938 kB / 0.7963 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259): time 0.5104/1.765, allocations: 55.97 MB / 0.851 GB, free: 153.6 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.142/1.907, allocations: 46.09 MB / 0.896 GB, free: 107 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/1.91, allocations: 1.862 MB / 0.8978 GB, free: 105.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007633/1.911, allocations: 69.7 kB / 0.8979 GB, free: 105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/1.912, allocations: 1.116 MB / 0.899 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.913, allocations: 0.908 MB / 0.8999 GB, free: 103 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/1.914, allocations: 0.5644 MB / 0.9004 GB, free: 102.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/1.914, allocations: 305.2 kB / 0.9007 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.918, allocations: 2.18 MB / 0.9028 GB, free: 99.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/1.922, allocations: 2.814 MB / 0.9056 GB, free: 96.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009804/1.932, allocations: 5.464 MB / 0.9109 GB, free: 91.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/1.932, allocations: 8 kB / 0.9109 GB, free: 91.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01414/1.946, allocations: 7.406 MB / 0.9181 GB, free: 83.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/1.946, allocations: 12.12 kB / 0.9182 GB, free: 83.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/1.946, allocations: 24 kB / 0.9182 GB, free: 83.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04572/1.992, allocations: 12.25 MB / 0.9301 GB, free: 71.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/1.994, allocations: 347.4 kB / 0.9305 GB, free: 70.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/2.01, allocations: 8.651 MB / 0.9389 GB, free: 62.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/2.014, allocations: 199.8 kB / 0.9391 GB, free: 62.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/2.014, allocations: 147.9 kB / 0.9393 GB, free: 61.94 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00445/2.019, allocations: 2.68 MB / 0.9419 GB, free: 59.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003896/2.023, allocations: 2.751 MB / 0.9446 GB, free: 56.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009824/2.033, allocations: 5.335 MB / 0.9498 GB, free: 50.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-05/2.033, allocations: 8 kB / 0.9498 GB, free: 50.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01408/2.047, allocations: 7.152 MB / 0.9568 GB, free: 43.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/2.047, allocations: 12 kB / 0.9568 GB, free: 43.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/2.047, allocations: 24.09 kB / 0.9568 GB, free: 43.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02532/2.072, allocations: 7.742 MB / 0.9644 GB, free: 35.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/2.074, allocations: 391.4 kB / 0.9647 GB, free: 35.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/2.089, allocations: 8.158 MB / 0.9727 GB, free: 27.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/2.093, allocations: 191.8 kB / 0.9729 GB, free: 26.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/2.094, allocations: 155.9 kB / 0.973 GB, free: 26.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.0008159/2.094, allocations: 336.1 kB / 0.9733 GB, free: 26.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006762/2.095, allocations: 262.3 kB / 0.9736 GB, free: 26.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/2.11, allocations: 7.745 MB / 0.9812 GB, free: 18.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/2.11, allocations: 32 kB / 0.9812 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/2.11, allocations: 0 / 0.9812 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01235/2.122, allocations: 6.798 MB / 0.9878 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2942/2.416, allocations: 13.62 MB / 1.001 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/2.416, allocations: 2.469 kB / 1.001 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/2.418, allocations: 188.3 kB / 1.001 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04993/2.468, allocations: 11.67 MB / 1.013 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008837/2.468, allocations: 83.36 kB / 1.013 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/2.487, allocations: 8.37 MB / 1.021 GB, free: 199.1 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.1284/2.615, allocations: 42.97 MB / 1.063 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/2.634, allocations: 10.36 MB / 1.073 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/2.636, allocations: 0.7563 MB / 1.074 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/2.637, allocations: 58.02 kB / 1.074 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/2.639, allocations: 171.8 kB / 1.074 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/2.64, allocations: 206 kB / 1.074 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/2.64, allocations: 111.9 kB / 1.074 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001424/2.641, allocations: 1.273 MB / 1.076 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.641, allocations: 0 / 1.076 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007561/2.649, allocations: 2.912 MB / 1.078 GB, free: 153 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.007529/2.656, allocations: 2.125 MB / 1.08 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02548/2.682, allocations: 8.813 MB / 1.089 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/2.682, allocations: 1.938 kB / 1.089 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009481/2.691, allocations: 3.017 MB / 1.092 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/2.696, allocations: 1.04 MB / 1.093 GB, free: 138.2 MB / 0.5919 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4732:9-4732:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:821:5-821: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.53497071005404] 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.706716850399971 2.715337247 1.805478724 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6b848297b0>