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.001229/0.001229, allocations: 101.3 kB / 16.45 MB, free: 6.5 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.001292/0.001292, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.362/1.362, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.126/3.126, allocations: 0.49 GB / 0.7916 GB, free: 33.43 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.002073/0.002073, allocations: 68.12 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 176.1 MB / 1.321 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.22/1.569, allocations: 361.8 MB / 1.674 GB, free: 53.53 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09626/1.665, allocations: 75.93 MB / 1.748 GB, free: 45.45 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02066/1.686, allocations: 0.5974 MB / 1.749 GB, free: 45.45 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01945/1.705, allocations: 6.594 MB / 1.755 GB, free: 43.78 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04169/1.747, allocations: 14.66 MB / 1.77 GB, free: 34.6 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02817/1.775, allocations: 10.37 MB / 1.78 GB, free: 28.14 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07404/1.849, allocations: 54.92 MB / 1.833 GB, free: 15.02 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03761/1.887, allocations: 16.97 MB / 1.85 GB, free: 14.58 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0429/1.93, allocations: 17.59 MB / 1.867 GB, free: 13.94 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03324/1.963, allocations: 16.25 MB / 1.883 GB, free: 14.75 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.00837/1.971, allocations: 1.867 MB / 1.885 GB, free: 12.88 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02198/1.993, allocations: 6.19 MB / 1.891 GB, free: 6.961 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01206/2.005, allocations: 6.262 MB / 1.897 GB, free: 0.918 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02777/2.033, allocations: 10.85 MB / 1.908 GB, free: 6.262 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.05531/2.089, allocations: 30.42 MB / 1.937 GB, free: 9.012 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/2.089, allocations: 7.938 kB / 1.937 GB, free: 9.004 MB / 1.42 GB Notification: Performance of FrontEnd: time 2.204e-06/2.089, allocations: 0 / 1.937 GB, free: 9.004 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0009797/2.09, allocations: 0 / 1.937 GB, free: 9.004 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.0717/2.161, allocations: 21.09 MB / 1.958 GB, free: 3.938 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/2.161, allocations: 8.031 kB / 1.958 GB, free: 3.93 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005406/2.167, allocations: 1.007 MB / 1.959 GB, free: 2.914 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02029/2.187, allocations: 3.224 MB / 1.962 GB, free: 15.67 MB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0537/2.241, allocations: 22.5 MB / 1.984 GB, free: 9.496 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009137/2.242, allocations: 0.6463 MB / 1.985 GB, free: 8.855 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005067/2.247, allocations: 0.8862 MB / 1.986 GB, free: 7.973 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05078/2.297, allocations: 17.11 MB / 2.002 GB, free: 6.633 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004075/2.298, allocations: 15.81 kB / 2.002 GB, free: 6.617 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004252/2.302, allocations: 320 kB / 2.003 GB, free: 6.305 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/2.302, allocations: 207.9 kB / 2.003 GB, free: 6.105 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04946/2.352, allocations: 21.38 MB / 2.024 GB, free: 0.7031 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.1679/2.52, allocations: 81.64 MB / 2.103 GB, free: 11.38 MB / 1.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02837/2.548, allocations: 12.47 MB / 2.116 GB, free: 15.14 MB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01928/2.567, allocations: 9.194 MB / 2.125 GB, free: 5.934 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.07607/2.643, allocations: 33.34 MB / 2.157 GB, free: 4.188 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02282/2.666, allocations: 10.48 MB / 2.167 GB, free: 9.688 MB / 1.654 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03162/2.698, allocations: 8.229 MB / 2.175 GB, free: 1.629 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 2.824e-05/2.698, allocations: 0 / 2.175 GB, free: 1.629 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 2.259/4.957, allocations: 218.2 MB / 2.388 GB, free: 0.6005 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1081/5.065, allocations: 49 MB / 2.436 GB, free: 0.5517 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02547/5.09, allocations: 19.7 MB / 2.456 GB, free: 0.5327 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003596/5.094, allocations: 201.7 kB / 2.456 GB, free: 0.5325 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.006117/5.1, allocations: 7.662 MB / 2.463 GB, free: 0.5254 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.006759/5.107, allocations: 2.755 MB / 2.466 GB, free: 0.5231 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01005/5.117, allocations: 3.797 MB / 2.47 GB, free: 0.5194 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 3.299e-05/5.117, allocations: 301.1 kB / 2.47 GB, free: 0.5191 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02763/5.144, allocations: 19.44 MB / 2.489 GB, free: 0.5001 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03044/5.175, allocations: 22.19 MB / 2.511 GB, free: 488.9 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05599/5.231, allocations: 37.3 MB / 2.547 GB, free: 450.8 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.882e-05/5.231, allocations: 16 kB / 2.547 GB, free: 450.8 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.6007/5.832, allocations: 132.2 MB / 2.676 GB, free: 318.7 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/5.832, allocations: 58.67 kB / 2.676 GB, free: 318.6 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.773e-05/5.832, allocations: 52 kB / 2.676 GB, free: 318.6 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5835/6.415, allocations: 118 MB / 2.791 GB, free: 201 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01661/6.432, allocations: 3.166 MB / 2.795 GB, free: 197.8 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1384/6.57, allocations: 81.87 MB / 2.874 GB, free: 115.6 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09754/6.668, allocations: 6.586 MB / 2.881 GB, free: 109 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006787/6.674, allocations: 1.294 MB / 2.882 GB, free: 107.7 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03878/6.713, allocations: 22.53 MB / 2.904 GB, free: 85.16 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03085/6.744, allocations: 21.68 MB / 2.925 GB, free: 62.46 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05519/6.799, allocations: 36.27 MB / 2.961 GB, free: 25.42 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.216e-05/6.799, allocations: 16 kB / 2.961 GB, free: 25.4 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.768/8.568, allocations: 130.6 MB / 3.088 GB, free: 0.5854 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/8.568, allocations: 53.7 kB / 3.088 GB, free: 0.5854 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.232e-05/8.568, allocations: 52 kB / 3.088 GB, free: 0.5853 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5769/9.145, allocations: 117.6 MB / 3.203 GB, free: 482.1 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01473/9.16, allocations: 3.146 MB / 3.206 GB, free: 479 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1419/9.301, allocations: 86.09 MB / 3.29 GB, free: 392.8 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09257/9.394, allocations: 6.628 MB / 3.297 GB, free: 386.2 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005378/9.399, allocations: 1.271 MB / 3.298 GB, free: 384.9 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.008236/9.408, allocations: 0.7197 MB / 3.299 GB, free: 384.2 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008535/9.416, allocations: 1.62 MB / 3.3 GB, free: 382.6 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2146/9.631, allocations: 59.96 MB / 3.359 GB, free: 322.9 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2213/9.852, allocations: 63.64 MB / 3.421 GB, free: 259.4 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001526/9.852, allocations: 32 kB / 3.421 GB, free: 259.4 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2133/10.07, allocations: 62.97 MB / 3.483 GB, free: 196.6 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3045/10.37, allocations: 127.3 MB / 3.607 GB, free: 69.49 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.199e-05/10.37, allocations: 4 kB / 3.607 GB, free: 69.48 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01161/10.38, allocations: 2.129 MB / 3.609 GB, free: 67.35 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025/11.41, allocations: 78.42 MB / 3.686 GB, free: 0.6091 GB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003475/11.41, allocations: 0.5341 MB / 3.686 GB, free: 0.6091 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1006/11.51, allocations: 55.66 MB / 3.741 GB, free: 0.5958 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.09605/11.61, allocations: 48.71 MB / 3.788 GB, free: 0.5634 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2514/11.86, allocations: 90.66 MB / 3.877 GB, free: 487 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01547/11.87, allocations: 5.495 MB / 3.882 GB, free: 481.5 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007968/11.88, allocations: 168 kB / 3.882 GB, free: 481.3 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0533/11.94, allocations: 3.473 MB / 3.886 GB, free: 477.8 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004875/11.94, allocations: 0.814 MB / 3.886 GB, free: 477 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003281/11.94, allocations: 0.6236 MB / 3.887 GB, free: 476.4 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02201/11.97, allocations: 13.72 MB / 3.9 GB, free: 462.7 MB / 1.748 GB Notification: Performance of sort global known variables: time 2.5e-07/11.97, allocations: 0 / 3.9 GB, free: 462.7 MB / 1.748 GB Notification: Performance of remove unused functions: time 0.08435/12.05, allocations: 34.92 MB / 3.934 GB, free: 428 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.2457/12.3, allocations: 92.23 MB / 4.025 GB, free: 336.1 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1227/12.42, allocations: 69.41 MB / 4.092 GB, free: 266.7 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/12.42, allocations: 0 / 4.092 GB, free: 266.7 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.05408/12.47, allocations: 22.1 MB / 4.114 GB, free: 244.6 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05429/12.53, allocations: 8.091 MB / 4.122 GB, free: 236.8 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.196/14.72, allocations: 424.2 MB / 4.536 GB, free: 0.4981 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/14.73, allocations: 9.913 MB / 4.546 GB, free: 0.4884 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02307/14.76, allocations: 6.812 MB / 4.552 GB, free: 493.5 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01843/14.77, allocations: 10.04 MB / 4.562 GB, free: 483.5 MB / 1.748 GB Notification: Performance of SimCode: time 9.72e-07/14.77, allocations: 0 / 4.562 GB, free: 483.5 MB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.561/16.34, allocations: 0.7817 GB / 5.344 GB, free: 361.2 MB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 84.53/100.9, allocations: 4 kB / 5.344 GB, free: 361.2 MB / 1.748 GB " [Timeout remaining time 199] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 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: 107.7651630579494] Failed to read output from testmodel.py, exit status != 0: 101.30875870608725 101.31941392 99.228125971 Calling exit ...