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.001584/0.001584, allocations: 107 kB / 16.45 MB, free: 6.453 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.001701/0.001701, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.012/3.012, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.00202/0.00202, allocations: 72.28 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 176.1 MB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.059/1.37, allocations: 361.8 MB / 1.674 GB, free: 53.55 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09145/1.461, allocations: 75.92 MB / 1.748 GB, free: 45.5 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01708/1.478, allocations: 0.5982 MB / 1.749 GB, free: 45.5 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01888/1.497, allocations: 6.602 MB / 1.755 GB, free: 43.84 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03804/1.535, allocations: 14.67 MB / 1.77 GB, free: 34.66 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02265/1.558, allocations: 10.37 MB / 1.78 GB, free: 28.2 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06312/1.621, allocations: 54.93 MB / 1.833 GB, free: 15.11 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02761/1.648, allocations: 16.96 MB / 1.85 GB, free: 14.68 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03853/1.687, allocations: 17.58 MB / 1.867 GB, free: 14.04 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03052/1.718, allocations: 16.26 MB / 1.883 GB, free: 14.84 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.008086/1.726, allocations: 1.867 MB / 1.885 GB, free: 12.97 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02113/1.747, allocations: 6.186 MB / 1.891 GB, free: 7.059 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01057/1.757, allocations: 6.263 MB / 1.897 GB, free: 1.016 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02267/1.78, allocations: 10.85 MB / 1.908 GB, free: 6.359 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.05203/1.832, allocations: 30.43 MB / 1.937 GB, free: 9.105 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.832, allocations: 0 / 1.937 GB, free: 9.105 MB / 1.42 GB Notification: Performance of FrontEnd: time 2.154e-06/1.832, allocations: 3.938 kB / 1.937 GB, free: 9.102 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.001038/1.833, allocations: 3.984 kB / 1.937 GB, free: 9.098 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.06092/1.894, allocations: 21.09 MB / 1.958 GB, free: 4.035 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.894, allocations: 12.02 kB / 1.958 GB, free: 4.023 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004424/1.898, allocations: 1.007 MB / 1.959 GB, free: 3.008 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/1.916, allocations: 3.212 MB / 1.962 GB, free: 15.78 MB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04878/1.965, allocations: 22.51 MB / 1.984 GB, free: 9.594 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007683/1.966, allocations: 0.6436 MB / 1.985 GB, free: 8.953 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00424/1.97, allocations: 0.8854 MB / 1.986 GB, free: 8.07 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.045/2.015, allocations: 17.12 MB / 2.002 GB, free: 6.73 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003339/2.016, allocations: 7.938 kB / 2.002 GB, free: 6.723 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003603/2.019, allocations: 316 kB / 2.003 GB, free: 6.414 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/2.019, allocations: 207.9 kB / 2.003 GB, free: 6.211 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04532/2.065, allocations: 21.39 MB / 2.024 GB, free: 0.8008 MB / 1.498 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.1585/2.223, allocations: 81.65 MB / 2.103 GB, free: 11.46 MB / 1.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/2.25, allocations: 12.46 MB / 2.116 GB, free: 15.24 MB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01806/2.268, allocations: 9.191 MB / 2.125 GB, free: 6.031 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.07431/2.342, allocations: 33.34 MB / 2.157 GB, free: 4.285 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02283/2.365, allocations: 10.49 MB / 2.167 GB, free: 9.777 MB / 1.654 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03115/2.396, allocations: 8.226 MB / 2.175 GB, free: 1.723 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 2.62e-05/2.396, allocations: 0 / 2.175 GB, free: 1.723 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.653/4.049, allocations: 218.2 MB / 2.388 GB, free: 0.6057 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1063/4.156, allocations: 49.01 MB / 2.436 GB, free: 0.557 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03147/4.187, allocations: 19.7 MB / 2.456 GB, free: 0.5379 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.004288/4.191, allocations: 201.7 kB / 2.456 GB, free: 0.5377 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.00881/4.2, allocations: 7.656 MB / 2.463 GB, free: 0.5306 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.007417/4.208, allocations: 2.759 MB / 2.466 GB, free: 0.5279 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01586/4.223, allocations: 3.797 MB / 2.47 GB, free: 0.5242 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/4.224, allocations: 301.1 kB / 2.47 GB, free: 0.5239 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02854/4.252, allocations: 19.44 MB / 2.489 GB, free: 0.5049 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03221/4.284, allocations: 22.19 MB / 2.511 GB, free: 493.8 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05723/4.342, allocations: 37.31 MB / 2.547 GB, free: 455.7 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-05/4.342, allocations: 12 kB / 2.547 GB, free: 455.7 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5913/4.933, allocations: 132.2 MB / 2.676 GB, free: 323.5 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/4.933, allocations: 57.69 kB / 2.676 GB, free: 323.4 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.345e-05/4.933, allocations: 52.09 kB / 2.676 GB, free: 323.4 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5681/5.501, allocations: 118 MB / 2.791 GB, free: 205.5 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01571/5.517, allocations: 3.166 MB / 2.795 GB, free: 202.3 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1393/5.656, allocations: 81.87 MB / 2.874 GB, free: 120.1 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09648/5.753, allocations: 6.585 MB / 2.881 GB, free: 113.5 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006589/5.759, allocations: 1.294 MB / 2.882 GB, free: 112.2 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03899/5.798, allocations: 22.53 MB / 2.904 GB, free: 89.61 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03107/5.829, allocations: 21.68 MB / 2.925 GB, free: 66.91 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05756/5.887, allocations: 36.27 MB / 2.961 GB, free: 29.86 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.803e-05/5.887, allocations: 16 kB / 2.961 GB, free: 29.85 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.269/7.156, allocations: 130.6 MB / 3.088 GB, free: 0.5947 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/7.156, allocations: 55.89 kB / 3.088 GB, free: 0.5947 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.218e-05/7.156, allocations: 52 kB / 3.088 GB, free: 0.5946 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5564/7.712, allocations: 117.6 MB / 3.203 GB, free: 491.6 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/7.726, allocations: 3.147 MB / 3.206 GB, free: 488.4 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1365/7.863, allocations: 86.1 MB / 3.29 GB, free: 402.3 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08856/7.952, allocations: 6.62 MB / 3.297 GB, free: 395.7 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004772/7.956, allocations: 1.27 MB / 3.298 GB, free: 394.4 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.006245/7.963, allocations: 0.7221 MB / 3.299 GB, free: 393.7 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007096/7.97, allocations: 1.612 MB / 3.3 GB, free: 392.1 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2039/8.174, allocations: 59.96 MB / 3.359 GB, free: 332.3 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2021/8.376, allocations: 63.65 MB / 3.421 GB, free: 268.7 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.562e-05/8.376, allocations: 28 kB / 3.421 GB, free: 268.7 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2007/8.576, allocations: 62.98 MB / 3.483 GB, free: 205.7 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2825/8.859, allocations: 127.3 MB / 3.607 GB, free: 78.41 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.668e-05/8.859, allocations: 0 / 3.607 GB, free: 78.41 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01093/8.87, allocations: 2.125 MB / 3.609 GB, free: 76.29 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9541/9.824, allocations: 78.42 MB / 3.686 GB, free: 0.6115 GB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003851/9.828, allocations: 0.5362 MB / 3.686 GB, free: 0.6115 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1003/9.928, allocations: 55.65 MB / 3.741 GB, free: 0.5988 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.09362/10.02, allocations: 48.72 MB / 3.788 GB, free: 0.5732 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.249/10.27, allocations: 90.66 MB / 3.877 GB, free: 0.4891 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0147/10.29, allocations: 5.488 MB / 3.882 GB, free: 495.4 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007117/10.29, allocations: 167.3 kB / 3.882 GB, free: 495.2 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05073/10.34, allocations: 3.479 MB / 3.886 GB, free: 491.7 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004537/10.35, allocations: 0.8257 MB / 3.886 GB, free: 490.9 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002511/10.35, allocations: 0.6158 MB / 3.887 GB, free: 490.3 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.0209/10.37, allocations: 13.73 MB / 3.9 GB, free: 476.6 MB / 1.748 GB Notification: Performance of sort global known variables: time 3.71e-07/10.37, allocations: 0 / 3.9 GB, free: 476.6 MB / 1.748 GB Notification: Performance of remove unused functions: time 0.08036/10.45, allocations: 34.92 MB / 3.935 GB, free: 441.8 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.2418/10.69, allocations: 92.23 MB / 4.025 GB, free: 349.7 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1185/10.81, allocations: 69.41 MB / 4.092 GB, free: 280.2 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/10.81, allocations: 4 kB / 4.092 GB, free: 280.2 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.05108/10.86, allocations: 22.11 MB / 4.114 GB, free: 258.1 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05219/10.92, allocations: 8.087 MB / 4.122 GB, free: 250.3 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.676/13.59, allocations: 424.2 MB / 4.536 GB, free: 0.5226 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01268/13.6, allocations: 9.909 MB / 4.546 GB, free: 0.5129 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.0239/13.63, allocations: 6.808 MB / 4.552 GB, free: 0.5065 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01935/13.65, allocations: 10.05 MB / 4.562 GB, free: 0.4967 GB / 1.748 GB Notification: Performance of SimCode: time 1.172e-06/13.65, allocations: 0 / 4.562 GB, free: 0.4967 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.635/15.28, allocations: 0.7817 GB / 5.344 GB, free: 398.5 MB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 108.1/123.4, allocations: 11.5 kB / 5.344 GB, free: 398.4 MB / 1.748 GB " [Timeout remaining time 176] (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: 133.97875576699153] Failed to read output from testmodel.py, exit status != 0: 123.80369178508408 123.811373175 121.976905157 Calling exit ...