Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001278/0.001278, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001557/0.001557, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.303/1.303, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.874/2.874, allocations: 0.5003 GB / 0.8062 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",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.001823/0.001823, allocations: 62.61 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.267, allocations: 179 MB / 1.345 GB, free: 360 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9467/1.214, allocations: 365.3 MB / 1.702 GB, free: 50.52 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.07859/1.292, allocations: 76.21 MB / 1.777 GB, free: 35.7 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01309/1.305, allocations: 0.5984 MB / 1.777 GB, free: 35.38 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01509/1.32, allocations: 6.709 MB / 1.784 GB, free: 30.56 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03216/1.353, allocations: 14.94 MB / 1.798 GB, free: 18.62 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02012/1.373, allocations: 10.63 MB / 1.809 GB, free: 10.84 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06852/1.441, allocations: 56.21 MB / 1.864 GB, free: 6.801 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02293/1.464, allocations: 15.43 MB / 1.879 GB, free: 7.227 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03454/1.499, allocations: 17.72 MB / 1.896 GB, free: 5.469 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02866/1.527, allocations: 16.28 MB / 1.912 GB, free: 5.133 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.00663/1.534, allocations: 1.867 MB / 1.914 GB, free: 3.266 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01908/1.553, allocations: 6.331 MB / 1.92 GB, free: 12.93 MB / 1.404 GB Notification: Performance of NFScalarize.scalarize: time 0.009779/1.563, allocations: 6.26 MB / 1.926 GB, free: 6.645 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.01955/1.582, allocations: 10.85 MB / 1.937 GB, free: 11.75 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.04835/1.631, allocations: 30.44 MB / 1.966 GB, free: 13.2 MB / 1.451 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.631, allocations: 0 / 1.966 GB, free: 13.2 MB / 1.451 GB Notification: Performance of FrontEnd: time 2.325e-06/1.631, allocations: 0 / 1.966 GB, free: 13.2 MB / 1.451 GB Notification: Performance of Transformations before backend: time 0.00115/1.632, allocations: 4 kB / 1.966 GB, free: 13.2 MB / 1.451 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.0554/1.687, allocations: 21.02 MB / 1.987 GB, free: 8.004 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.687, allocations: 8.031 kB / 1.987 GB, free: 7.996 MB / 1.467 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001901/1.688, allocations: 211.2 kB / 1.987 GB, free: 7.789 MB / 1.467 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00336/1.691, allocations: 1.004 MB / 1.988 GB, free: 6.773 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/1.707, allocations: 3.216 MB / 1.991 GB, free: 3.543 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04802/1.755, allocations: 22.49 MB / 2.013 GB, free: 12.91 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000684/1.756, allocations: 0.6477 MB / 2.014 GB, free: 12.26 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003908/1.76, allocations: 0.8827 MB / 2.015 GB, free: 11.38 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03714/1.797, allocations: 17.12 MB / 2.031 GB, free: 10.03 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/1.797, allocations: 15.86 kB / 2.031 GB, free: 10.01 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00192/1.799, allocations: 320 kB / 2.032 GB, free: 9.699 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/1.799, allocations: 204 kB / 2.032 GB, free: 9.5 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04406/1.843, allocations: 21.4 MB / 2.053 GB, free: 4.078 MB / 1.529 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.1408/1.984, allocations: 81.72 MB / 2.133 GB, free: 14.09 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02515/2.009, allocations: 12.32 MB / 2.145 GB, free: 2.059 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01798/2.027, allocations: 9.198 MB / 2.154 GB, free: 8.848 MB / 1.639 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.07083/2.098, allocations: 31.9 MB / 2.185 GB, free: 8.828 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02098/2.119, allocations: 10.5 MB / 2.195 GB, free: 14.3 MB / 1.686 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02988/2.149, allocations: 8.227 MB / 2.203 GB, free: 6.07 MB / 1.686 GB Notification: Performance of pre-optimization done (n=503): time 3.071e-05/2.149, allocations: 0 / 2.203 GB, free: 6.07 MB / 1.686 GB Notification: Performance of matching and sorting (n=742): time 1.967/4.116, allocations: 218 MB / 2.416 GB, free: 0.5612 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1151/4.231, allocations: 48.73 MB / 2.463 GB, free: 0.5128 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0315/4.262, allocations: 19.76 MB / 2.483 GB, free: 0.4937 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.004196/4.266, allocations: 205.7 kB / 2.483 GB, free: 0.4935 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.007588/4.274, allocations: 7.655 MB / 2.49 GB, free: 498.1 MB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.007497/4.282, allocations: 2.755 MB / 2.493 GB, free: 495.8 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01531/4.297, allocations: 3.793 MB / 2.497 GB, free: 491.9 MB / 1.748 GB Notification: Performance of setup shared object (initialization): time 3.59e-05/4.297, allocations: 312.9 kB / 2.497 GB, free: 491.6 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02724/4.324, allocations: 19.46 MB / 2.516 GB, free: 472.2 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03041/4.355, allocations: 22.21 MB / 2.538 GB, free: 448.9 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05645/4.411, allocations: 37.34 MB / 2.574 GB, free: 410.8 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.808e-05/4.411, allocations: 16 kB / 2.574 GB, free: 410.8 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5794/4.99, allocations: 132.2 MB / 2.703 GB, free: 278.6 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/4.991, allocations: 53.7 kB / 2.703 GB, free: 278.6 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.249e-05/4.991, allocations: 56.16 kB / 2.704 GB, free: 278.5 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5624/5.553, allocations: 118 MB / 2.819 GB, free: 160.9 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/5.568, allocations: 3.174 MB / 2.822 GB, free: 157.8 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1205/5.689, allocations: 81.76 MB / 2.902 GB, free: 75.68 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08448/5.773, allocations: 6.592 MB / 2.908 GB, free: 69.09 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003847/5.777, allocations: 1.302 MB / 2.909 GB, free: 67.78 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02919/5.806, allocations: 22.54 MB / 2.931 GB, free: 45.21 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02809/5.834, allocations: 21.69 MB / 2.953 GB, free: 22.5 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.173/7.008, allocations: 36.31 MB / 2.988 GB, free: 0.6051 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.957e-05/7.008, allocations: 15.72 kB / 2.988 GB, free: 0.6051 GB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.5988/7.606, allocations: 130.7 MB / 3.116 GB, free: 0.5327 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/7.607, allocations: 54.33 kB / 3.116 GB, free: 0.5326 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/7.607, allocations: 52 kB / 3.116 GB, free: 0.5326 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5509/8.158, allocations: 117.6 MB / 3.231 GB, free: 428.1 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/8.172, allocations: 3.151 MB / 3.234 GB, free: 424.9 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1287/8.3, allocations: 85.88 MB / 3.318 GB, free: 339 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08781/8.388, allocations: 6.625 MB / 3.324 GB, free: 332.4 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006126/8.394, allocations: 1.267 MB / 3.325 GB, free: 331.1 MB / 1.748 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.008336/8.403, allocations: 0.722 MB / 3.326 GB, free: 330.4 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007227/8.41, allocations: 1.617 MB / 3.328 GB, free: 329.4 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2031/8.613, allocations: 59.98 MB / 3.386 GB, free: 269.6 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.197/8.81, allocations: 63.66 MB / 3.448 GB, free: 206.2 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001705/8.81, allocations: 28 kB / 3.448 GB, free: 206.1 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1959/9.006, allocations: 63.01 MB / 3.51 GB, free: 143.3 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8624/9.868, allocations: 127.3 MB / 3.634 GB, free: 0.5778 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.999e-05/9.869, allocations: 4.656 kB / 3.634 GB, free: 0.5778 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01184/9.88, allocations: 2.129 MB / 3.636 GB, free: 0.5778 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3186/10.2, allocations: 78.43 MB / 3.713 GB, free: 0.5721 GB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004197/10.2, allocations: 0.5346 MB / 3.713 GB, free: 0.5718 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09363/10.3, allocations: 55.55 MB / 3.768 GB, free: 0.5459 GB / 1.748 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.08721/10.38, allocations: 47.64 MB / 3.814 GB, free: 0.4987 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2291/10.61, allocations: 90.69 MB / 3.903 GB, free: 421.1 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0141/10.63, allocations: 5.576 MB / 3.908 GB, free: 415.6 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007053/10.63, allocations: 171.9 kB / 3.908 GB, free: 415.5 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04997/10.68, allocations: 3.477 MB / 3.912 GB, free: 412 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005049/10.69, allocations: 0.8488 MB / 3.913 GB, free: 411.1 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003572/10.69, allocations: 0.6158 MB / 3.913 GB, free: 410.5 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.01912/10.71, allocations: 13.76 MB / 3.927 GB, free: 396.8 MB / 1.748 GB Notification: Performance of sort global known variables: time 4.6e-07/10.71, allocations: 0 / 3.927 GB, free: 396.8 MB / 1.748 GB Notification: Performance of remove unused functions: time 0.07389/10.79, allocations: 34.92 MB / 3.961 GB, free: 362.1 MB / 1.748 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.2311/11.02, allocations: 92.27 MB / 4.051 GB, free: 270.2 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1129/11.13, allocations: 69.46 MB / 4.119 GB, free: 200.7 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/11.13, allocations: 4 kB / 4.119 GB, free: 200.7 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.04937/11.18, allocations: 22.12 MB / 4.14 GB, free: 178.6 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05145/11.23, allocations: 8.095 MB / 4.148 GB, free: 170.8 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.048/13.28, allocations: 424.5 MB / 4.563 GB, free: 430.9 MB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/13.29, allocations: 9.907 MB / 4.572 GB, free: 420.9 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02449/13.32, allocations: 6.807 MB / 4.579 GB, free: 414.4 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01866/13.33, allocations: 10.04 MB / 4.589 GB, free: 404.3 MB / 1.748 GB Notification: Performance of SimCode: time 1.042e-06/13.33, allocations: 0 / 4.589 GB, free: 404.3 MB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/14.81, allocations: 0.8 GB / 5.389 GB, free: 251.4 MB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 84.05/98.86, allocations: 8.047 kB / 5.389 GB, free: 251.4 MB / 1.748 GB " [Timeout remaining time 201] (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 109.14205891499296] Failed to read output from testmodel.py, exit status != 0: 99.3881288249977 99.399720085 97.76607523 Calling exit ...