Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.001321/0.001321, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001663/0.001663, allocations: 215.8 kB / 22.26 MB, free: 5.125 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.029/3.029, allocations: 0.49 GB / 0.7951 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 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.002149/0.002149, allocations: 64.58 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.152/1.493, allocations: 365.4 MB / 1.683 GB, free: 54.21 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08936/1.583, allocations: 76.21 MB / 1.757 GB, free: 45.19 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01935/1.602, allocations: 0.6003 MB / 1.758 GB, free: 45.19 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01844/1.621, allocations: 6.703 MB / 1.764 GB, free: 43.1 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04041/1.661, allocations: 14.96 MB / 1.779 GB, free: 33.59 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02416/1.685, allocations: 10.62 MB / 1.789 GB, free: 26.89 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0723/1.757, allocations: 56.23 MB / 1.844 GB, free: 12.07 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02837/1.786, allocations: 15.42 MB / 1.859 GB, free: 13.2 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04026/1.826, allocations: 17.73 MB / 1.877 GB, free: 12.41 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03395/1.86, allocations: 16.28 MB / 1.892 GB, free: 13.2 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.009549/1.87, allocations: 1.867 MB / 1.894 GB, free: 11.33 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02277/1.892, allocations: 6.337 MB / 1.9 GB, free: 5.27 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01165/1.904, allocations: 6.273 MB / 1.907 GB, free: 15.21 MB / 1.389 GB Notification: Performance of NFVerifyModel.verify: time 0.0244/1.928, allocations: 10.86 MB / 1.917 GB, free: 4.555 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.0545/1.983, allocations: 30.43 MB / 1.947 GB, free: 7.285 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.983, allocations: 0 / 1.947 GB, free: 7.285 MB / 1.42 GB Notification: Performance of FrontEnd: time 1.373e-06/1.983, allocations: 0 / 1.947 GB, free: 7.285 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0008815/1.984, allocations: 0 / 1.947 GB, free: 7.285 MB / 1.42 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.06003/2.044, allocations: 21.02 MB / 1.967 GB, free: 2.293 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/2.044, allocations: 8.031 kB / 1.967 GB, free: 2.285 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00385/2.048, allocations: 1.006 MB / 1.968 GB, free: 1.27 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01714/2.065, allocations: 3.216 MB / 1.972 GB, free: 14.04 MB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04888/2.114, allocations: 22.48 MB / 1.994 GB, free: 7.824 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007048/2.114, allocations: 0.6535 MB / 1.994 GB, free: 7.176 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003958/2.118, allocations: 0.8819 MB / 1.995 GB, free: 6.297 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03931/2.158, allocations: 17.12 MB / 2.012 GB, free: 4.957 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/2.158, allocations: 11.88 kB / 2.012 GB, free: 4.945 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/2.16, allocations: 318 kB / 2.012 GB, free: 4.637 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/2.16, allocations: 211.9 kB / 2.012 GB, free: 4.43 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0417/2.202, allocations: 21.39 MB / 2.033 GB, free: 15.02 MB / 1.514 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.1446/2.347, allocations: 81.72 MB / 2.113 GB, free: 9.523 MB / 1.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02617/2.373, allocations: 12.32 MB / 2.125 GB, free: 13.48 MB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01858/2.391, allocations: 9.2 MB / 2.134 GB, free: 4.262 MB / 1.607 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 evalFunc (simulation): time 0.07851/2.47, allocations: 31.89 MB / 2.165 GB, free: 4.379 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02223/2.492, allocations: 10.5 MB / 2.175 GB, free: 9.852 MB / 1.654 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03062/2.523, allocations: 8.227 MB / 2.183 GB, free: 1.617 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 2.887e-05/2.523, allocations: 0 / 2.183 GB, free: 1.617 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.69/4.212, allocations: 218 MB / 2.396 GB, free: 0.5755 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1193/4.332, allocations: 48.72 MB / 2.444 GB, free: 0.5271 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03512/4.367, allocations: 19.75 MB / 2.463 GB, free: 0.508 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.004551/4.371, allocations: 201.3 kB / 2.463 GB, free: 0.5078 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.009142/4.381, allocations: 7.665 MB / 2.471 GB, free: 0.5006 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.008347/4.389, allocations: 2.752 MB / 2.474 GB, free: 0.498 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0208/4.41, allocations: 3.797 MB / 2.477 GB, free: 0.4942 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/4.41, allocations: 305.2 kB / 2.478 GB, free: 0.4939 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02967/4.439, allocations: 19.46 MB / 2.497 GB, free: 486.3 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03051/4.47, allocations: 22.21 MB / 2.518 GB, free: 463.1 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05885/4.529, allocations: 37.34 MB / 2.555 GB, free: 425 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.686e-05/4.529, allocations: 16 kB / 2.555 GB, free: 424.9 MB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5776/5.106, allocations: 132.3 MB / 2.684 GB, free: 292.6 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/5.107, allocations: 55.42 kB / 2.684 GB, free: 292.6 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.203e-05/5.107, allocations: 55.98 kB / 2.684 GB, free: 292.5 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5458/5.652, allocations: 118 MB / 2.799 GB, free: 174.6 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01693/5.669, allocations: 3.17 MB / 2.802 GB, free: 171.4 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1403/5.81, allocations: 81.76 MB / 2.882 GB, free: 89.33 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08145/5.891, allocations: 6.577 MB / 2.888 GB, free: 82.75 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007878/5.899, allocations: 1.298 MB / 2.89 GB, free: 81.45 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04467/5.944, allocations: 22.55 MB / 2.912 GB, free: 58.87 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03343/5.977, allocations: 21.69 MB / 2.933 GB, free: 36.16 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.894/6.871, allocations: 36.31 MB / 2.968 GB, free: 0.6106 GB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.611e-05/6.871, allocations: 14.66 kB / 2.968 GB, free: 0.6106 GB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.5575/7.429, allocations: 130.7 MB / 3.096 GB, free: 0.5485 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/7.429, allocations: 57.7 kB / 3.096 GB, free: 0.5484 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.279e-05/7.429, allocations: 52 kB / 3.096 GB, free: 0.5484 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5368/7.966, allocations: 117.6 MB / 3.211 GB, free: 444.3 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01725/7.983, allocations: 3.143 MB / 3.214 GB, free: 441.1 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1511/8.134, allocations: 85.88 MB / 3.298 GB, free: 355.2 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07916/8.213, allocations: 6.619 MB / 3.304 GB, free: 348.6 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006996/8.22, allocations: 1.271 MB / 3.306 GB, free: 347.3 MB / 1.732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1023 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.00945/8.23, allocations: 0.7235 MB / 3.306 GB, free: 346.6 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009799/8.239, allocations: 1.621 MB / 3.308 GB, free: 345.6 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2061/8.445, allocations: 59.99 MB / 3.367 GB, free: 285.7 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2016/8.647, allocations: 63.65 MB / 3.429 GB, free: 222.1 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001427/8.647, allocations: 32 kB / 3.429 GB, free: 222.1 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1933/8.841, allocations: 63.01 MB / 3.49 GB, free: 159 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2773/9.118, allocations: 127.3 MB / 3.615 GB, free: 31.78 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.664e-05/9.118, allocations: 0 / 3.615 GB, free: 31.78 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01172/9.13, allocations: 2.136 MB / 3.617 GB, free: 29.64 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203/10.33, allocations: 78.41 MB / 3.693 GB, free: 0.5933 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004834/10.34, allocations: 0.5329 MB / 3.694 GB, free: 0.593 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.106/10.44, allocations: 55.55 MB / 3.748 GB, free: 0.5659 GB / 1.732 GB Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09244/10.54, allocations: 47.63 MB / 3.795 GB, free: 0.5188 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2357/10.77, allocations: 90.69 MB / 3.883 GB, free: 441.6 MB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02192/10.79, allocations: 5.589 MB / 3.889 GB, free: 436.2 MB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009007/10.8, allocations: 167.7 kB / 3.889 GB, free: 436 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04784/10.85, allocations: 3.479 MB / 3.892 GB, free: 432.5 MB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005855/10.86, allocations: 0.8526 MB / 3.893 GB, free: 431.7 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004197/10.86, allocations: 0.6236 MB / 3.894 GB, free: 431.1 MB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02355/10.88, allocations: 13.75 MB / 3.907 GB, free: 417.4 MB / 1.732 GB Notification: Performance of sort global known variables: time 2.2e-07/10.88, allocations: 0 / 3.907 GB, free: 417.4 MB / 1.732 GB Notification: Performance of remove unused functions: time 0.08596/10.97, allocations: 34.92 MB / 3.941 GB, free: 382.5 MB / 1.732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (556): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2454/11.22, allocations: 92.28 MB / 4.031 GB, free: 290.3 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1279/11.34, allocations: 69.44 MB / 4.099 GB, free: 220.8 MB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/11.34, allocations: 4 kB / 4.099 GB, free: 220.8 MB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.05157/11.39, allocations: 22.12 MB / 4.121 GB, free: 198.7 MB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05998/11.45, allocations: 8.099 MB / 4.129 GB, free: 190.8 MB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.871/14.33, allocations: 424.5 MB / 4.543 GB, free: 460.1 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01782/14.34, allocations: 9.894 MB / 4.553 GB, free: 450.1 MB / 1.733 GB Notification: Performance of simCode: alias equations: time 0.03501/14.38, allocations: 6.81 MB / 4.559 GB, free: 443.5 MB / 1.733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02312/14.4, allocations: 10.04 MB / 4.569 GB, free: 433.5 MB / 1.733 GB Notification: Performance of SimCode: time 2.294e-06/14.4, allocations: 4 kB / 4.569 GB, free: 433.5 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.729/16.13, allocations: 0.8 GB / 5.369 GB, free: 291.3 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate platform static: time 110.5/126.6, allocations: 3.266 kB / 5.369 GB, free: 291.3 MB / 1.733 GB " [Timeout remaining time 173] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 137.4562914010603] Failed to read output from testmodel.py, exit status != 0: 127.14077014103532 127.160137801 125.173014737 Calling exit ...