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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 101.9 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3221/0.3221, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.14 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.298, allocations: 62.01 MB / 0.5152 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.08597/0.384, allocations: 95.62 MB / 0.6085 GB, free: 9.715 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03368/0.4177, allocations: 22.6 MB / 0.6306 GB, free: 3.059 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.4214, allocations: 119.1 kB / 0.6307 GB, free: 2.941 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.4243, allocations: 0.8199 MB / 0.6315 GB, free: 2.117 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.4344, allocations: 3.536 MB / 0.635 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.4469, allocations: 4.924 MB / 0.6398 GB, free: 9.648 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.4578, allocations: 10.63 MB / 0.6502 GB, free: 15 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.4607, allocations: 1.57 MB / 0.6517 GB, free: 13.4 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4456/0.9064, allocations: 73.45 MB / 0.7234 GB, free: 17.14 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06122/0.9676, allocations: 31.97 MB / 0.7546 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008941/0.9686, allocations: 132 kB / 0.7548 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/0.9821, allocations: 5.985 MB / 0.7606 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.9838, allocations: 0.96 MB / 0.7616 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.9859, allocations: 1.373 MB / 0.7629 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.007781/0.9937, allocations: 5.354 MB / 0.7681 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9937, allocations: 4 kB / 0.7681 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9937, allocations: 0 / 0.7681 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.72e-05/0.9938, allocations: 0 / 0.7681 GB, free: 5.918 MB / 0.4948 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.007678/1.001, allocations: 3.489 MB / 0.7715 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.002, allocations: 12.02 kB / 0.7715 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/1.002, allocations: 308.6 kB / 0.7718 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/1.005, allocations: 1.574 MB / 0.7734 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/1.005, allocations: 215.6 kB / 0.7736 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/1.006, allocations: 181.4 kB / 0.7738 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/1.01, allocations: 3.28 MB / 0.777 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/1.01, allocations: 6.812 kB / 0.777 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/1.01, allocations: 85.3 kB / 0.777 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/1.011, allocations: 256.9 kB / 0.7773 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/1.015, allocations: 3.09 MB / 0.7803 GB, free: 12.3 MB / 0.5105 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.01825/1.034, allocations: 13.81 MB / 0.7938 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/1.038, allocations: 2.202 MB / 0.7959 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/1.039, allocations: 1.177 MB / 0.7971 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008556/1.048, allocations: 5.62 MB / 0.8026 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.048, allocations: 51.88 kB / 0.8026 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009655/1.049, allocations: 237.9 kB / 0.8029 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 5.43e-06/1.049, allocations: 0 / 0.8029 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=259): time 0.488/1.537, allocations: 55.31 MB / 0.8569 GB, free: 14.91 MB / 0.5886 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1432/1.68, allocations: 45.41 MB / 0.9012 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2579/1.938, allocations: 1.854 MB / 0.903 GB, free: 271.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008178/1.939, allocations: 67.86 kB / 0.9031 GB, free: 271.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.94, allocations: 1.089 MB / 0.9042 GB, free: 271.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.942, allocations: 0.8709 MB / 0.905 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/1.943, allocations: 0.5673 MB / 0.9056 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/1.943, allocations: 301.1 kB / 0.9058 GB, free: 270.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004066/1.947, allocations: 2.183 MB / 0.908 GB, free: 269.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004319/1.952, allocations: 2.824 MB / 0.9107 GB, free: 268.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.962, allocations: 5.412 MB / 0.916 GB, free: 265.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/1.962, allocations: 7.5 kB / 0.916 GB, free: 265.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01502/1.977, allocations: 7.48 MB / 0.9233 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.977, allocations: 16.38 kB / 0.9233 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/1.977, allocations: 19.62 kB / 0.9234 GB, free: 263.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04726/2.024, allocations: 11.83 MB / 0.9349 GB, free: 261.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/2.026, allocations: 346.8 kB / 0.9353 GB, free: 261.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/2.043, allocations: 8.619 MB / 0.9437 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/2.047, allocations: 255.1 kB / 0.9439 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006141/2.047, allocations: 157.1 kB / 0.9441 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00493/2.052, allocations: 2.674 MB / 0.9467 GB, free: 257.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004108/2.057, allocations: 2.764 MB / 0.9494 GB, free: 255.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009745/2.066, allocations: 5.289 MB / 0.9545 GB, free: 251.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.185e-05/2.066, allocations: 7.688 kB / 0.9545 GB, free: 251.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01403/2.08, allocations: 7.218 MB / 0.9616 GB, free: 244.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/2.08, allocations: 15.94 kB / 0.9616 GB, free: 244.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/2.08, allocations: 16 kB / 0.9616 GB, free: 244.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02393/2.104, allocations: 7.668 MB / 0.9691 GB, free: 236.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/2.106, allocations: 395.4 kB / 0.9695 GB, free: 236.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/2.121, allocations: 8.143 MB / 0.9774 GB, free: 228.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/2.126, allocations: 255.8 kB / 0.9777 GB, free: 228.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008704/2.127, allocations: 151.9 kB / 0.9778 GB, free: 227.9 MB / 0.6198 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.001209/2.128, allocations: 331.7 kB / 0.9782 GB, free: 227.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/2.129, allocations: 249 kB / 0.9784 GB, free: 227.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/2.144, allocations: 7.831 MB / 0.986 GB, free: 219.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/2.144, allocations: 32 kB / 0.9861 GB, free: 219.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/2.144, allocations: 4 kB / 0.9861 GB, free: 219.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01222/2.156, allocations: 6.893 MB / 0.9928 GB, free: 212.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/2.182, allocations: 13.76 MB / 1.006 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/2.182, allocations: 0 / 1.006 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/2.183, allocations: 195.7 kB / 1.006 GB, free: 198.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04077/2.224, allocations: 11.41 MB / 1.018 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006976/2.224, allocations: 83.95 kB / 1.018 GB, free: 187 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/2.239, allocations: 8.332 MB / 1.026 GB, free: 178.6 MB / 0.6198 GB Warning: There are tearing variables with annotation attribute '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.1191/2.358, allocations: 45.42 MB / 1.07 GB, free: 132.8 MB / 0.6198 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 8.004/10.36, allocations: 415.6 MB / 1.476 GB, free: 227.6 MB / 0.6198 GB Error: post-optimization module symbolicJacobian (simulation) failed.