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.0008881/0.0008881, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001144/0.001144, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8523/0.8523, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 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 1.711/1.711, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.205e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.6533/0.6533, allocations: 326.2 MB / 1.318 GB, free: 7.156 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.08187/0.7352, allocations: 70.68 MB / 1.387 GB, free: 328 kB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01233/0.7476, allocations: 0.5966 MB / 1.388 GB, free: 15.71 MB / 1.229 GB Notification: Performance of NFTyping.typeComponents: time 0.01451/0.7621, allocations: 6.446 MB / 1.394 GB, free: 9.234 MB / 1.229 GB Notification: Performance of NFTyping.typeBindings: time 0.02997/0.792, allocations: 15.37 MB / 1.409 GB, free: 9.797 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.01775/0.8098, allocations: 10.81 MB / 1.42 GB, free: 15.06 MB / 1.26 GB Notification: Performance of NFFlatten.flatten: time 0.06147/0.8713, allocations: 66.91 MB / 1.485 GB, free: 12 MB / 1.323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02066/0.8919, allocations: 15.16 MB / 1.5 GB, free: 12.71 MB / 1.339 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05014/0.9421, allocations: 23.68 MB / 1.523 GB, free: 4.996 MB / 1.354 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02554/0.9676, allocations: 14.72 MB / 1.537 GB, free: 6.238 MB / 1.37 GB Notification: Performance of NFPackage.collectConstants: time 0.006622/0.9742, allocations: 1.75 MB / 1.539 GB, free: 4.488 MB / 1.37 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/0.9929, allocations: 4.945 MB / 1.544 GB, free: 15.54 MB / 1.385 GB Notification: Performance of NFScalarize.scalarize: time 0.009753/1.003, allocations: 6.272 MB / 1.55 GB, free: 9.242 MB / 1.385 GB Notification: Performance of NFVerifyModel.verify: time 0.01635/1.019, allocations: 7.464 MB / 1.557 GB, free: 1.762 MB / 1.385 GB Notification: Performance of NFConvertDAE.convert: time 1.137/2.155, allocations: 30.51 MB / 1.587 GB, free: 155.2 MB / 1.401 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/2.156, allocations: 0.5625 kB / 1.587 GB, free: 155.2 MB / 1.401 GB Notification: Performance of FrontEnd: time 1.654e-06/2.156, allocations: 0 / 1.587 GB, free: 155.2 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.001208/2.157, allocations: 0 / 1.587 GB, free: 155.2 MB / 1.401 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.06253/2.219, allocations: 20.74 MB / 1.607 GB, free: 147 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/2.219, allocations: 9.281 kB / 1.607 GB, free: 147 MB / 1.401 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006838/2.226, allocations: 0.9992 MB / 1.608 GB, free: 146.9 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/2.243, allocations: 3.24 MB / 1.612 GB, free: 145.8 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05087/2.294, allocations: 22.25 MB / 1.633 GB, free: 142.5 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/2.295, allocations: 0.6369 MB / 1.634 GB, free: 142.5 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007186/2.302, allocations: 0.8808 MB / 1.635 GB, free: 142.5 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/2.348, allocations: 18.07 MB / 1.652 GB, free: 140.5 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003542/2.348, allocations: 16.14 kB / 1.652 GB, free: 140.5 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005054/2.353, allocations: 317.8 kB / 1.653 GB, free: 140.5 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003314/2.354, allocations: 206.5 kB / 1.653 GB, free: 140.5 MB / 1.401 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03932/2.393, allocations: 21.38 MB / 1.674 GB, free: 140.5 MB / 1.401 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.1107/2.504, allocations: 62.36 MB / 1.735 GB, free: 123.9 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0174/2.521, allocations: 12.3 MB / 1.747 GB, free: 123 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01177/2.533, allocations: 9.205 MB / 1.756 GB, free: 119.6 MB / 1.401 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.05564/2.589, allocations: 28.78 MB / 1.784 GB, free: 100.3 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01575/2.604, allocations: 11.44 MB / 1.795 GB, free: 88.63 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01875/2.623, allocations: 8.171 MB / 1.803 GB, free: 80.7 MB / 1.401 GB Notification: Performance of pre-optimization done (n=503): time 3.385e-05/2.623, allocations: 1.75 kB / 1.803 GB, free: 80.7 MB / 1.401 GB Notification: Performance of matching and sorting (n=742): time 0.522/3.145, allocations: 218.1 MB / 2.016 GB, free: 6.305 MB / 1.542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07339/3.218, allocations: 47.62 MB / 2.062 GB, free: 5.879 MB / 1.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03191/3.25, allocations: 19.17 MB / 2.081 GB, free: 2.801 MB / 1.604 GB Notification: Performance of collectPreVariables (initialization): time 0.003909/3.254, allocations: 197.7 kB / 2.081 GB, free: 2.602 MB / 1.604 GB Notification: Performance of collectInitialEqns (initialization): time 0.008799/3.263, allocations: 7.936 MB / 2.089 GB, free: 10.71 MB / 1.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.006842/3.27, allocations: 2.702 MB / 2.092 GB, free: 8.043 MB / 1.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0118/3.282, allocations: 3.325 MB / 2.095 GB, free: 4.711 MB / 1.62 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/3.282, allocations: 305.2 kB / 2.095 GB, free: 4.41 MB / 1.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02392/3.306, allocations: 18.58 MB / 2.113 GB, free: 1.793 MB / 1.636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02659/3.332, allocations: 23.38 MB / 2.136 GB, free: 8.898 MB / 1.667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0466/3.379, allocations: 35.7 MB / 2.171 GB, free: 4.648 MB / 1.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.527e-05/3.379, allocations: 16 kB / 2.171 GB, free: 4.633 MB / 1.698 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 0.8289/4.208, allocations: 130.2 MB / 2.298 GB, free: 0.6995 GB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/4.208, allocations: 52.48 kB / 2.298 GB, free: 0.6994 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-05/4.208, allocations: 54.28 kB / 2.298 GB, free: 0.6994 GB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2905/4.498, allocations: 117.9 MB / 2.413 GB, free: 0.5954 GB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00962/4.508, allocations: 2.971 MB / 2.416 GB, free: 0.5925 GB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09006/4.598, allocations: 80.92 MB / 2.495 GB, free: 0.5134 GB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0446/4.643, allocations: 6.56 MB / 2.502 GB, free: 0.507 GB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00502/4.648, allocations: 1.247 MB / 2.503 GB, free: 0.5058 GB / 1.714 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02869/4.676, allocations: 21.68 MB / 2.524 GB, free: 496.2 MB / 1.714 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02344/4.7, allocations: 22.85 MB / 2.546 GB, free: 471.8 MB / 1.714 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03859/4.739, allocations: 34.66 MB / 2.58 GB, free: 436.4 MB / 1.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.647e-05/4.739, allocations: 16 kB / 2.58 GB, free: 436.4 MB / 1.714 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.3192/5.058, allocations: 128.6 MB / 2.706 GB, free: 308.8 MB / 1.714 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/5.058, allocations: 57.7 kB / 2.706 GB, free: 308.7 MB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.436e-05/5.058, allocations: 52 kB / 2.706 GB, free: 308.6 MB / 1.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2899/5.348, allocations: 117.5 MB / 2.821 GB, free: 191.5 MB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008556/5.356, allocations: 2.952 MB / 2.824 GB, free: 188.6 MB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09062/5.447, allocations: 84.19 MB / 2.906 GB, free: 104.4 MB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04346/5.491, allocations: 6.595 MB / 2.912 GB, free: 97.82 MB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004644/5.495, allocations: 1.224 MB / 2.914 GB, free: 96.6 MB / 1.714 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (907): * Single equations (assignments): 891 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.005935/5.501, allocations: 0.6844 MB / 2.914 GB, free: 95.91 MB / 1.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005818/5.507, allocations: 1.638 MB / 2.916 GB, free: 94.95 MB / 1.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1116/5.618, allocations: 60.07 MB / 2.974 GB, free: 34.94 MB / 1.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6437/6.262, allocations: 63.66 MB / 3.037 GB, free: 0.6954 GB / 1.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001614/6.262, allocations: 32.31 kB / 3.037 GB, free: 0.6954 GB / 1.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1231/6.385, allocations: 63 MB / 3.098 GB, free: 0.6831 GB / 1.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1719/6.557, allocations: 108.8 MB / 3.204 GB, free: 0.6032 GB / 1.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.375e-05/6.557, allocations: 4 kB / 3.204 GB, free: 0.6032 GB / 1.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00688/6.564, allocations: 2.131 MB / 3.207 GB, free: 0.6012 GB / 1.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1625/6.727, allocations: 78.28 MB / 3.283 GB, free: 0.5252 GB / 1.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003123/6.73, allocations: 0.5338 MB / 3.283 GB, free: 0.5247 GB / 1.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06153/6.791, allocations: 55 MB / 3.337 GB, free: 482.3 MB / 1.714 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.0532/6.845, allocations: 46.62 MB / 3.383 GB, free: 435 MB / 1.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1473/6.992, allocations: 90.73 MB / 3.471 GB, free: 345.3 MB / 1.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0143/7.006, allocations: 5.536 MB / 3.477 GB, free: 340.6 MB / 1.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00714/7.013, allocations: 164 kB / 3.477 GB, free: 340.5 MB / 1.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02714/7.041, allocations: 3.477 MB / 3.48 GB, free: 337 MB / 1.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004138/7.045, allocations: 0.8527 MB / 3.481 GB, free: 336.1 MB / 1.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002898/7.048, allocations: 0.6158 MB / 3.482 GB, free: 335.5 MB / 1.714 GB Notification: Performance of sorting global known variables: time 0.0182/7.066, allocations: 13.43 MB / 3.495 GB, free: 322.2 MB / 1.714 GB Notification: Performance of sort global known variables: time 1.81e-07/7.066, allocations: 0 / 3.495 GB, free: 322.2 MB / 1.714 GB Notification: Performance of remove unused functions: time 0.06132/7.127, allocations: 34.56 MB / 3.529 GB, free: 287.6 MB / 1.714 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.1525/7.28, allocations: 92.15 MB / 3.619 GB, free: 195.9 MB / 1.714 GB Notification: Performance of simCode: created initialization part: time 0.08433/7.364, allocations: 67.3 MB / 3.684 GB, free: 128.5 MB / 1.714 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/7.364, allocations: 4 kB / 3.684 GB, free: 128.5 MB / 1.714 GB Notification: Performance of simCode: created simulation system equations: time 0.03112/7.395, allocations: 22.11 MB / 3.706 GB, free: 106.4 MB / 1.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04027/7.435, allocations: 8.516 MB / 3.714 GB, free: 98.22 MB / 1.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.315/8.751, allocations: 413.1 MB / 4.118 GB, free: 0.4994 GB / 1.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/8.763, allocations: 9.688 MB / 4.127 GB, free: 0.4899 GB / 1.714 GB Notification: Performance of simCode: alias equations: time 0.02188/8.785, allocations: 6.711 MB / 4.134 GB, free: 495.2 MB / 1.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01574/8.8, allocations: 10.12 MB / 4.143 GB, free: 485.1 MB / 1.714 GB Notification: Performance of SimCode: time 1.513e-06/8.8, allocations: 0 / 4.143 GB, free: 485.1 MB / 1.714 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/9.926, allocations: 0.8127 GB / 4.956 GB, free: 454.4 MB / 1.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.26/62.18, allocations: 4.062 kB / 4.956 GB, free: 454.4 MB / 1.714 GB " [Timeout remaining time 237] (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: 68.70369109418243] Failed to read output from testmodel.py, exit status != 0: 62.54494234640151 62.551923521 60.394631693 Calling exit ...