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.0007688/0.0007688, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000857/0.000857, 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.8378/0.8378, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.653/1.653, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.587e-06/9.82e-06, allocations: 6.281 kB / 0.981 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.59/0.59, allocations: 326.2 MB / 1.3 GB, free: 6.23 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.07099/0.661, allocations: 70.69 MB / 1.369 GB, free: 15.39 MB / 1.198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01105/0.6721, allocations: 0.6003 MB / 1.369 GB, free: 14.79 MB / 1.198 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.6829, allocations: 6.438 MB / 1.375 GB, free: 8.312 MB / 1.198 GB Notification: Performance of NFTyping.typeBindings: time 0.0266/0.7095, allocations: 15.37 MB / 1.39 GB, free: 8.879 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.01722/0.7267, allocations: 10.83 MB / 1.401 GB, free: 14.13 MB / 1.229 GB Notification: Performance of NFFlatten.flatten: time 0.05687/0.7836, allocations: 66.93 MB / 1.466 GB, free: 11.05 MB / 1.292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01879/0.8024, allocations: 15.49 MB / 1.482 GB, free: 11.4 MB / 1.307 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03445/0.8368, allocations: 23.69 MB / 1.505 GB, free: 3.676 MB / 1.323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01661/0.8535, allocations: 14.72 MB / 1.519 GB, free: 4.922 MB / 1.339 GB Notification: Performance of NFPackage.collectConstants: time 0.003483/0.8569, allocations: 1.75 MB / 1.521 GB, free: 3.172 MB / 1.339 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.8671, allocations: 4.952 MB / 1.526 GB, free: 14.21 MB / 1.354 GB Notification: Performance of NFScalarize.scalarize: time 0.003843/0.8709, allocations: 6.272 MB / 1.532 GB, free: 7.918 MB / 1.354 GB Notification: Performance of NFVerifyModel.verify: time 0.009186/0.8801, allocations: 7.458 MB / 1.539 GB, free: 452 kB / 1.354 GB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.9051, allocations: 30.52 MB / 1.569 GB, free: 1.832 MB / 1.385 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9051, allocations: 0 / 1.569 GB, free: 1.832 MB / 1.385 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9051, allocations: 0 / 1.569 GB, free: 1.832 MB / 1.385 GB Notification: Performance of Transformations before backend: time 0.0004359/0.9055, allocations: 0 / 1.569 GB, free: 1.832 MB / 1.385 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.7569/1.662, allocations: 20.75 MB / 1.589 GB, free: 468.5 MB / 1.386 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.662, allocations: 8.625 kB / 1.589 GB, free: 468.5 MB / 1.386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/1.664, allocations: 1.001 MB / 1.59 GB, free: 468 MB / 1.386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006873/1.67, allocations: 3.24 MB / 1.593 GB, free: 466.9 MB / 1.386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02756/1.698, allocations: 22.25 MB / 1.615 GB, free: 457.1 MB / 1.386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007109/1.699, allocations: 0.6396 MB / 1.616 GB, free: 456.8 MB / 1.386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004805/1.703, allocations: 0.8719 MB / 1.616 GB, free: 456.5 MB / 1.386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0421/1.746, allocations: 18.07 MB / 1.634 GB, free: 449.3 MB / 1.386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003478/1.746, allocations: 12.86 kB / 1.634 GB, free: 449.3 MB / 1.386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004045/1.75, allocations: 321.8 kB / 1.634 GB, free: 449 MB / 1.386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.75, allocations: 211 kB / 1.635 GB, free: 449 MB / 1.386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03704/1.787, allocations: 21.37 MB / 1.655 GB, free: 442.4 MB / 1.386 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.1005/1.888, allocations: 62.36 MB / 1.716 GB, free: 388.1 MB / 1.386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/1.903, allocations: 12.31 MB / 1.728 GB, free: 376.2 MB / 1.386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0105/1.914, allocations: 9.199 MB / 1.737 GB, free: 367 MB / 1.386 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.04715/1.961, allocations: 28.78 MB / 1.765 GB, free: 338.3 MB / 1.386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01333/1.974, allocations: 11.43 MB / 1.777 GB, free: 326.7 MB / 1.386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01788/1.992, allocations: 8.175 MB / 1.785 GB, free: 319 MB / 1.386 GB Notification: Performance of pre-optimization done (n=503): time 3.336e-05/1.992, allocations: 0 / 1.785 GB, free: 319 MB / 1.386 GB Notification: Performance of matching and sorting (n=742): time 0.478/2.47, allocations: 218.1 MB / 1.998 GB, free: 100 MB / 1.386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06071/2.531, allocations: 47.61 MB / 2.044 GB, free: 51.4 MB / 1.386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02/2.551, allocations: 19.17 MB / 2.063 GB, free: 32.32 MB / 1.386 GB Notification: Performance of collectPreVariables (initialization): time 0.003134/2.554, allocations: 205.7 kB / 2.063 GB, free: 32.11 MB / 1.386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00559/2.56, allocations: 7.921 MB / 2.071 GB, free: 24.16 MB / 1.386 GB Notification: Performance of collectInitialBindings (initialization): time 0.005602/2.565, allocations: 2.704 MB / 2.073 GB, free: 21.43 MB / 1.386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006864/2.572, allocations: 3.318 MB / 2.077 GB, free: 18.1 MB / 1.386 GB Notification: Performance of setup shared object (initialization): time 2.757e-05/2.572, allocations: 301.1 kB / 2.077 GB, free: 17.8 MB / 1.386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4766/3.049, allocations: 18.58 MB / 2.095 GB, free: 428.2 MB / 1.386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02269/3.071, allocations: 23.38 MB / 2.118 GB, free: 422 MB / 1.386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04919/3.121, allocations: 35.7 MB / 2.153 GB, free: 409 MB / 1.386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/3.121, allocations: 19.28 kB / 2.153 GB, free: 409 MB / 1.386 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 0.3249/3.446, allocations: 130.2 MB / 2.28 GB, free: 330.3 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/3.446, allocations: 57.7 kB / 2.28 GB, free: 330.2 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.292e-05/3.446, allocations: 55.98 kB / 2.28 GB, free: 330.2 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2873/3.733, allocations: 117.8 MB / 2.395 GB, free: 212.8 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008634/3.742, allocations: 2.975 MB / 2.398 GB, free: 209.8 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08736/3.829, allocations: 80.93 MB / 2.477 GB, free: 128.8 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04401/3.873, allocations: 6.552 MB / 2.483 GB, free: 122.3 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004543/3.878, allocations: 1.251 MB / 2.485 GB, free: 121 MB / 1.386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02537/3.903, allocations: 21.68 MB / 2.506 GB, free: 99.31 MB / 1.386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02075/3.924, allocations: 22.85 MB / 2.528 GB, free: 74.91 MB / 1.386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03843/3.962, allocations: 34.66 MB / 2.562 GB, free: 39.5 MB / 1.386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.777e-05/3.962, allocations: 16 kB / 2.562 GB, free: 39.48 MB / 1.386 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.855/4.817, allocations: 128.6 MB / 2.688 GB, free: 437.8 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/4.817, allocations: 56.11 kB / 2.688 GB, free: 437.7 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.779e-05/4.817, allocations: 51.19 kB / 2.688 GB, free: 437.7 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2961/5.114, allocations: 117.5 MB / 2.802 GB, free: 363.7 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008297/5.122, allocations: 2.954 MB / 2.805 GB, free: 360.8 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09612/5.218, allocations: 84.21 MB / 2.888 GB, free: 276.7 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04251/5.26, allocations: 6.6 MB / 2.894 GB, free: 270.1 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003989/5.264, allocations: 1.22 MB / 2.895 GB, free: 268.9 MB / 1.417 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.004997/5.269, allocations: 0.6798 MB / 2.896 GB, free: 268.3 MB / 1.417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005255/5.275, allocations: 1.644 MB / 2.897 GB, free: 267.5 MB / 1.417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1104/5.385, allocations: 60.06 MB / 2.956 GB, free: 207.8 MB / 1.417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1146/5.5, allocations: 63.67 MB / 3.018 GB, free: 144.3 MB / 1.417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.893e-05/5.5, allocations: 39.94 kB / 3.018 GB, free: 144.2 MB / 1.417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1122/5.612, allocations: 63 MB / 3.08 GB, free: 81.34 MB / 1.417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6835/6.296, allocations: 108.8 MB / 3.186 GB, free: 423.1 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.439e-05/6.296, allocations: 2.5 kB / 3.186 GB, free: 423.1 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007721/6.303, allocations: 2.128 MB / 3.188 GB, free: 423 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1759/6.479, allocations: 78.28 MB / 3.265 GB, free: 411.3 MB / 1.417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003504/6.483, allocations: 0.5329 MB / 3.265 GB, free: 410.8 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06378/6.547, allocations: 54.99 MB / 3.319 GB, free: 372.8 MB / 1.417 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.05135/6.598, allocations: 46.63 MB / 3.364 GB, free: 325.6 MB / 1.417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1391/6.737, allocations: 90.73 MB / 3.453 GB, free: 235.9 MB / 1.417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01246/6.749, allocations: 5.534 MB / 3.458 GB, free: 231.3 MB / 1.417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007503/6.757, allocations: 164 kB / 3.459 GB, free: 231.2 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02726/6.784, allocations: 3.471 MB / 3.462 GB, free: 227.7 MB / 1.417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00509/6.789, allocations: 0.8449 MB / 3.463 GB, free: 226.9 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003688/6.793, allocations: 0.6237 MB / 3.463 GB, free: 226.2 MB / 1.417 GB Notification: Performance of sorting global known variables: time 0.01752/6.81, allocations: 13.43 MB / 3.477 GB, free: 212.9 MB / 1.417 GB Notification: Performance of sort global known variables: time 1.9e-07/6.81, allocations: 0 / 3.477 GB, free: 212.9 MB / 1.417 GB Notification: Performance of remove unused functions: time 0.05879/6.869, allocations: 34.55 MB / 3.51 GB, free: 178.5 MB / 1.417 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.1519/7.021, allocations: 92.17 MB / 3.6 GB, free: 86.74 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.08553/7.107, allocations: 67.31 MB / 3.666 GB, free: 19.38 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/7.107, allocations: 4 kB / 3.666 GB, free: 19.37 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.4684/7.575, allocations: 22.08 MB / 3.688 GB, free: 451.1 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04221/7.617, allocations: 8.525 MB / 3.696 GB, free: 450.2 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8958/8.513, allocations: 413.1 MB / 4.099 GB, free: 129.4 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01561/8.529, allocations: 9.677 MB / 4.109 GB, free: 119.7 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.02246/8.551, allocations: 6.736 MB / 4.115 GB, free: 113 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01591/8.567, allocations: 10.13 MB / 4.125 GB, free: 102.8 MB / 1.417 GB Notification: Performance of SimCode: time 1.713e-06/8.567, allocations: 0 / 4.125 GB, free: 102.8 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.643/10.21, allocations: 0.8129 GB / 4.938 GB, free: 344.3 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.78/48.99, allocations: 5.312 kB / 4.938 GB, free: 344.3 MB / 1.432 GB " [Timeout remaining time 251] (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: 53.214593100361526] Failed to read output from testmodel.py, exit status != 0: 49.34582320973277 49.353028401 48.446447164 Calling exit ...