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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002398/0.002398, allocations: 191 kB / 22.1 MB, free: 4.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 250.8 MB, free: 2.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.997/2.997, allocations: 495.8 MB / 0.783 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 1.137 GB, free: 12.12 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.213, allocations: 173.6 MB / 1.307 GB, free: 33.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.4111/1.624, allocations: 360.2 MB / 1.659 GB, free: 15.92 MB / 1.342 GB Notification: Performance of NFInst.instExpressions: time 0.131/1.755, allocations: 75.47 MB / 1.732 GB, free: 4.277 MB / 1.404 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02056/1.776, allocations: 0.5848 MB / 1.733 GB, free: 3.688 MB / 1.404 GB Notification: Performance of NFTyping.typeComponents: time 0.02237/1.798, allocations: 6.699 MB / 1.739 GB, free: 12.96 MB / 1.42 GB Notification: Performance of NFTyping.typeBindings: time 0.04564/1.844, allocations: 14.91 MB / 1.754 GB, free: 14 MB / 1.436 GB Notification: Performance of NFTyping.typeClassSections: time 0.02825/1.872, allocations: 10.61 MB / 1.764 GB, free: 3.449 MB / 1.436 GB Notification: Performance of NFFlatten.flatten: time 0.09297/1.965, allocations: 56.19 MB / 1.819 GB, free: 11.13 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0343/1.999, allocations: 15.39 MB / 1.834 GB, free: 11.59 MB / 1.514 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04522/2.044, allocations: 17.6 MB / 1.851 GB, free: 9.961 MB / 1.529 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03411/2.078, allocations: 16.25 MB / 1.867 GB, free: 9.656 MB / 1.545 GB Notification: Performance of NFPackage.collectConstants: time 0.009895/2.088, allocations: 1.867 MB / 1.869 GB, free: 7.789 MB / 1.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02337/2.112, allocations: 5.345 MB / 1.874 GB, free: 2.438 MB / 1.545 GB Notification: Performance of NFScalarize.scalarize: time 1.574/3.686, allocations: 6.247 MB / 1.88 GB, free: 127.7 MB / 1.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03497/3.72, allocations: 10.76 MB / 1.891 GB, free: 127.7 MB / 1.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07421/3.795, allocations: 29.76 MB / 1.92 GB, free: 124 MB / 1.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/3.795, allocations: 1.688 kB / 1.92 GB, free: 124 MB / 1.545 GB Notification: Performance of FrontEnd: time 2.254e-06/3.795, allocations: 3.188 kB / 1.92 GB, free: 124 MB / 1.545 GB Notification: Performance of Transformations before backend: time 0.001473/3.796, allocations: 1.531 kB / 1.92 GB, free: 124 MB / 1.545 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.09086/3.887, allocations: 20.76 MB / 1.94 GB, free: 115.5 MB / 1.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/3.887, allocations: 9.781 kB / 1.94 GB, free: 115.5 MB / 1.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/3.91, allocations: 3.193 MB / 1.943 GB, free: 114.4 MB / 1.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05668/3.967, allocations: 20.2 MB / 1.963 GB, free: 111.2 MB / 1.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007995/3.968, allocations: 0.6422 MB / 1.964 GB, free: 111.2 MB / 1.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006601/3.974, allocations: 0.8843 MB / 1.965 GB, free: 111.2 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04863/4.023, allocations: 17.12 MB / 1.981 GB, free: 110.4 MB / 1.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004364/4.023, allocations: 15.7 kB / 1.981 GB, free: 110.4 MB / 1.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007008/4.03, allocations: 317.2 kB / 1.982 GB, free: 110.4 MB / 1.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/4.031, allocations: 207.1 kB / 1.982 GB, free: 110.4 MB / 1.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05039/4.081, allocations: 21.39 MB / 2.003 GB, free: 110.4 MB / 1.545 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.1568/4.238, allocations: 80.83 MB / 2.082 GB, free: 69.45 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02515/4.263, allocations: 12.32 MB / 2.094 GB, free: 67.01 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01583/4.279, allocations: 9.193 MB / 2.103 GB, free: 63.27 MB / 1.545 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.0754/4.354, allocations: 31.64 MB / 2.134 GB, free: 41.36 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01921/4.373, allocations: 10.5 MB / 2.144 GB, free: 31.39 MB / 1.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03218/4.405, allocations: 8.22 MB / 2.152 GB, free: 23.41 MB / 1.545 GB Notification: Performance of pre-optimization done (n=503): time 3.149e-05/4.406, allocations: 4 kB / 2.152 GB, free: 23.4 MB / 1.545 GB Notification: Performance of matching and sorting (n=742): time 1.061/5.466, allocations: 217.9 MB / 2.365 GB, free: 12.98 MB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1446/5.611, allocations: 48.74 MB / 2.412 GB, free: 11.34 MB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04543/5.656, allocations: 16.92 MB / 2.429 GB, free: 10.5 MB / 1.811 GB Notification: Performance of collectPreVariables (initialization): time 0.005951/5.662, allocations: 201.7 kB / 2.429 GB, free: 10.29 MB / 1.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.01346/5.675, allocations: 7.559 MB / 2.436 GB, free: 2.762 MB / 1.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.009873/5.685, allocations: 2.764 MB / 2.439 GB, free: 32 kB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02203/5.707, allocations: 3.797 MB / 2.443 GB, free: 12.22 MB / 1.826 GB Notification: Performance of setup shared object (initialization): time 0.0001364/5.708, allocations: 301.1 kB / 2.443 GB, free: 11.93 MB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04323/5.751, allocations: 19.45 MB / 2.462 GB, free: 8.453 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04853/5.799, allocations: 22.23 MB / 2.484 GB, free: 1.238 MB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07923/5.879, allocations: 37.36 MB / 2.52 GB, free: 11.33 MB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.427e-05/5.879, allocations: 16 kB / 2.52 GB, free: 11.31 MB / 1.904 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 1.492/7.37, allocations: 132.2 MB / 2.649 GB, free: 0.8049 GB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 8.455e-05/7.37, allocations: 65.33 kB / 2.649 GB, free: 0.8049 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-05/7.371, allocations: 51.47 kB / 2.649 GB, free: 0.8049 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6156/7.986, allocations: 117.8 MB / 2.765 GB, free: 0.7161 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/8.005, allocations: 3.172 MB / 2.768 GB, free: 0.7131 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1465/8.151, allocations: 81.75 MB / 2.847 GB, free: 0.6332 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1001/8.251, allocations: 6.579 MB / 2.854 GB, free: 0.6268 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008123/8.26, allocations: 1.308 MB / 2.855 GB, free: 0.6255 GB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04764/8.307, allocations: 22.52 MB / 2.877 GB, free: 0.6035 GB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03671/8.344, allocations: 21.69 MB / 2.898 GB, free: 0.5813 GB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06231/8.406, allocations: 36.31 MB / 2.934 GB, free: 0.5451 GB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.445e-05/8.406, allocations: 16 kB / 2.934 GB, free: 0.5451 GB / 1.936 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.6346/9.041, allocations: 130.6 MB / 3.061 GB, free: 428.5 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/9.041, allocations: 57.7 kB / 3.061 GB, free: 428.5 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/9.041, allocations: 56.89 kB / 3.062 GB, free: 428.4 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6107/9.652, allocations: 117.5 MB / 3.176 GB, free: 311.2 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/9.669, allocations: 3.151 MB / 3.179 GB, free: 308.1 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1494/9.818, allocations: 85.87 MB / 3.263 GB, free: 222.2 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09776/9.916, allocations: 6.621 MB / 3.27 GB, free: 215.5 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007116/9.923, allocations: 1.271 MB / 3.271 GB, free: 214.3 MB / 1.936 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.009606/9.933, allocations: 0.7165 MB / 3.272 GB, free: 213.5 MB / 1.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009309/9.942, allocations: 1.59 MB / 3.273 GB, free: 212.9 MB / 1.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2311/10.17, allocations: 59.98 MB / 3.332 GB, free: 153 MB / 1.936 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.227/10.4, allocations: 63.67 MB / 3.394 GB, free: 89.33 MB / 1.936 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/10.4, allocations: 28 kB / 3.394 GB, free: 89.3 MB / 1.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164/11.56, allocations: 62.99 MB / 3.455 GB, free: 0.7801 GB / 1.936 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3561/11.92, allocations: 127 MB / 3.58 GB, free: 0.7501 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001209/11.92, allocations: 3.812 kB / 3.58 GB, free: 0.7501 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01334/11.93, allocations: 2.124 MB / 3.582 GB, free: 0.75 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.348/12.28, allocations: 78.25 MB / 3.658 GB, free: 0.7077 GB / 1.936 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003954/12.29, allocations: 0.5299 MB / 3.659 GB, free: 0.7072 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1098/12.4, allocations: 55.56 MB / 3.713 GB, free: 0.653 GB / 1.936 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.1007/12.5, allocations: 47.65 MB / 3.759 GB, free: 0.6057 GB / 1.936 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.286/12.78, allocations: 90.67 MB / 3.848 GB, free: 0.5182 GB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02142/12.8, allocations: 5.487 MB / 3.853 GB, free: 0.5138 GB / 1.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01078/12.81, allocations: 168 kB / 3.853 GB, free: 0.5136 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05978/12.87, allocations: 3.473 MB / 3.857 GB, free: 0.5102 GB / 1.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006092/12.88, allocations: 0.8488 MB / 3.858 GB, free: 0.5094 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004145/12.88, allocations: 0.6197 MB / 3.858 GB, free: 0.5088 GB / 1.936 GB Notification: Performance of sorting global known variables: time 0.02501/12.91, allocations: 11.54 MB / 3.87 GB, free: 0.4976 GB / 1.936 GB Notification: Performance of sort global known variables: time 2.71e-07/12.91, allocations: 0 / 3.87 GB, free: 0.4976 GB / 1.936 GB Notification: Performance of remove unused functions: time 0.1068/13.02, allocations: 34.89 MB / 3.904 GB, free: 474.8 MB / 1.936 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.009516/13.03, allocations: 1.883 MB / 3.905 GB, free: 473.1 MB / 1.936 GB Notification: Performance of simCode: created initialization part: time 0.1387/13.16, allocations: 69.47 MB / 3.973 GB, free: 403.6 MB / 1.936 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/13.16, allocations: 4.5 kB / 3.973 GB, free: 403.6 MB / 1.936 GB Notification: Performance of simCode: created simulation system equations: time 0.05936/13.22, allocations: 22.11 MB / 3.995 GB, free: 381.5 MB / 1.936 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08309/13.31, allocations: 8.074 MB / 4.003 GB, free: 373.8 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1074/13.41, allocations: 49.32 MB / 4.051 GB, free: 324.4 MB / 1.936 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02438/13.44, allocations: 9.865 MB / 4.061 GB, free: 314.5 MB / 1.936 GB Notification: Performance of simCode: alias equations: time 0.04381/13.48, allocations: 6.764 MB / 4.067 GB, free: 307.7 MB / 1.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01974/13.5, allocations: 2.027 MB / 4.069 GB, free: 305.7 MB / 1.936 GB Notification: Performance of SimCode: time 1.513e-06/13.5, allocations: 0 / 4.069 GB, free: 305.7 MB / 1.936 GB Notification: Performance of Templates: time 1.94/15.44, allocations: 0.6372 GB / 4.706 GB, free: 0.5376 GB / 1.936 GB " [Timeout remaining time 285] make -j1 -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 41.23754038289189] Failed to read output from testmodel.py, exit status != 0: 15.452697763219476 15.462261939 11.664910436 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7499af17b0>