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.001448/0.001448, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001655/0.001655, allocations: 213.7 kB / 22.24 MB, free: 5.262 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.351/1.351, allocations: 230.6 MB / 256 MB, free: 7.766 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 2.902/2.902, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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.001928/0.001928, allocations: 60.59 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3318, allocations: 176.1 MB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.018/1.35, allocations: 329 MB / 1.647 GB, free: 58.62 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08409/1.434, allocations: 70.67 MB / 1.716 GB, free: 55.76 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01531/1.449, allocations: 0.5983 MB / 1.717 GB, free: 55.76 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01637/1.466, allocations: 6.383 MB / 1.723 GB, free: 54.52 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03591/1.501, allocations: 15 MB / 1.738 GB, free: 49.26 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02248/1.524, allocations: 10.5 MB / 1.748 GB, free: 43.96 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.05864/1.583, allocations: 56.2 MB / 1.803 GB, free: 7.77 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/1.603, allocations: 15.45 MB / 1.818 GB, free: 8.93 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03966/1.643, allocations: 18.36 MB / 1.836 GB, free: 7.531 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02939/1.672, allocations: 16.14 MB / 1.852 GB, free: 8.453 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.006047/1.678, allocations: 1.75 MB / 1.853 GB, free: 6.703 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01663/1.695, allocations: 5.195 MB / 1.858 GB, free: 1.719 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.009071/1.704, allocations: 6.109 MB / 1.864 GB, free: 11.84 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.01853/1.722, allocations: 8.776 MB / 1.873 GB, free: 3.27 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.04636/1.769, allocations: 29.72 MB / 1.902 GB, free: 6.695 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.769, allocations: 0 / 1.902 GB, free: 6.695 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.363e-06/1.769, allocations: 3.938 kB / 1.902 GB, free: 6.691 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0007557/1.77, allocations: 0 / 1.902 GB, free: 6.691 MB / 1.389 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.05345/1.823, allocations: 20.8 MB / 1.922 GB, free: 1.961 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.823, allocations: 8.031 kB / 1.922 GB, free: 1.953 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003689/1.827, allocations: 1.006 MB / 1.923 GB, free: 0.9375 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/1.843, allocations: 3.212 MB / 1.926 GB, free: 13.71 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04315/1.886, allocations: 21.45 MB / 1.947 GB, free: 8.539 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006995/1.887, allocations: 0.6485 MB / 1.948 GB, free: 7.895 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004191/1.891, allocations: 0.871 MB / 1.949 GB, free: 7.023 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03726/1.928, allocations: 18.07 MB / 1.966 GB, free: 4.504 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002928/1.929, allocations: 19.83 kB / 1.966 GB, free: 4.484 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002786/1.931, allocations: 323.3 kB / 1.967 GB, free: 4.172 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/1.932, allocations: 204 kB / 1.967 GB, free: 3.973 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04021/1.972, allocations: 21.38 MB / 1.988 GB, free: 14.58 MB / 1.482 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.1323/2.104, allocations: 62.66 MB / 2.049 GB, free: 128 kB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02393/2.128, allocations: 12.31 MB / 2.061 GB, free: 4.098 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01674/2.145, allocations: 9.204 MB / 2.07 GB, free: 10.88 MB / 1.561 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.06866/2.213, allocations: 29 MB / 2.098 GB, free: 13.94 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01881/2.232, allocations: 11.45 MB / 2.11 GB, free: 2.242 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02851/2.261, allocations: 8.223 MB / 2.118 GB, free: 10.19 MB / 1.607 GB Notification: Performance of pre-optimization done (n=503): time 2.661e-05/2.261, allocations: 0 / 2.118 GB, free: 10.19 MB / 1.607 GB Notification: Performance of matching and sorting (n=742): time 1.428/3.689, allocations: 218 MB / 2.33 GB, free: 0.6425 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1042/3.793, allocations: 47.6 MB / 2.377 GB, free: 0.6077 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02169/3.815, allocations: 19.53 MB / 2.396 GB, free: 0.5889 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003116/3.818, allocations: 197.7 kB / 2.396 GB, free: 0.5888 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.005444/3.823, allocations: 7.662 MB / 2.404 GB, free: 0.5827 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.006022/3.829, allocations: 2.759 MB / 2.406 GB, free: 0.5814 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006973/3.836, allocations: 3.777 MB / 2.41 GB, free: 0.5777 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 3.029e-05/3.836, allocations: 312.4 kB / 2.41 GB, free: 0.5774 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0229/3.859, allocations: 19.49 MB / 2.429 GB, free: 0.5584 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02645/3.886, allocations: 24.42 MB / 2.453 GB, free: 0.533 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04942/3.935, allocations: 37.37 MB / 2.49 GB, free: 0.4958 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.715e-05/3.935, allocations: 16 kB / 2.49 GB, free: 0.4957 GB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5376/4.473, allocations: 132.3 MB / 2.619 GB, free: 375.3 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/4.473, allocations: 62.23 kB / 2.619 GB, free: 375.2 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/4.473, allocations: 55.94 kB / 2.619 GB, free: 375.1 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5325/5.005, allocations: 117.8 MB / 2.734 GB, free: 257.4 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01581/5.021, allocations: 3.174 MB / 2.737 GB, free: 254.2 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1208/5.142, allocations: 80.94 MB / 2.816 GB, free: 172.9 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07219/5.214, allocations: 6.576 MB / 2.823 GB, free: 166.3 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005338/5.219, allocations: 1.29 MB / 2.824 GB, free: 165 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03186/5.251, allocations: 22.59 MB / 2.846 GB, free: 142.4 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02708/5.278, allocations: 23.89 MB / 2.869 GB, free: 117 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04936/5.328, allocations: 36.32 MB / 2.905 GB, free: 79.88 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.669e-05/5.328, allocations: 12 kB / 2.905 GB, free: 79.87 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.11/6.438, allocations: 130.7 MB / 3.033 GB, free: 0.6268 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/6.438, allocations: 58.2 kB / 3.033 GB, free: 0.6267 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.239e-05/6.438, allocations: 52 kB / 3.033 GB, free: 0.6267 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5307/6.969, allocations: 117.5 MB / 3.147 GB, free: 0.5414 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/6.983, allocations: 3.152 MB / 3.15 GB, free: 0.5384 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1255/7.108, allocations: 84.22 MB / 3.233 GB, free: 467.3 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07219/7.181, allocations: 6.605 MB / 3.239 GB, free: 460.7 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005444/7.186, allocations: 1.267 MB / 3.24 GB, free: 459.4 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1023 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.007185/7.193, allocations: 0.7139 MB / 3.241 GB, free: 458.8 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007114/7.2, allocations: 1.625 MB / 3.243 GB, free: 458 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1808/7.381, allocations: 59.98 MB / 3.301 GB, free: 398.3 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1918/7.573, allocations: 63.66 MB / 3.363 GB, free: 334.9 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/7.573, allocations: 37.7 kB / 3.363 GB, free: 334.8 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1803/7.753, allocations: 63.01 MB / 3.425 GB, free: 271.8 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2537/8.007, allocations: 108.9 MB / 3.531 GB, free: 163 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.266e-05/8.007, allocations: 0 / 3.531 GB, free: 163 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01088/8.018, allocations: 2.133 MB / 3.533 GB, free: 160.9 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2899/8.308, allocations: 78.26 MB / 3.61 GB, free: 82.77 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00359/8.312, allocations: 0.5338 MB / 3.61 GB, free: 82.24 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08466/8.396, allocations: 55.01 MB / 3.664 GB, free: 27.23 MB / 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.7375/9.134, allocations: 46.64 MB / 3.71 GB, free: 0.6145 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2253/9.359, allocations: 90.69 MB / 3.798 GB, free: 0.5886 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01795/9.377, allocations: 5.571 MB / 3.804 GB, free: 0.5849 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006122/9.383, allocations: 165.7 kB / 3.804 GB, free: 0.5847 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04257/9.426, allocations: 3.472 MB / 3.807 GB, free: 0.5831 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003964/9.43, allocations: 0.8475 MB / 3.808 GB, free: 0.5827 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002029/9.432, allocations: 0.6158 MB / 3.809 GB, free: 0.5821 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.01679/9.448, allocations: 13.54 MB / 3.822 GB, free: 0.569 GB / 1.748 GB Notification: Performance of sort global known variables: time 2.01e-07/9.448, allocations: 0 / 3.822 GB, free: 0.569 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.0724/9.521, allocations: 34.87 MB / 3.856 GB, free: 0.5351 GB / 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.2151/9.736, allocations: 92.22 MB / 3.946 GB, free: 456.8 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1112/9.847, allocations: 69.46 MB / 4.014 GB, free: 387.3 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/9.847, allocations: 0 / 4.014 GB, free: 387.3 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.04448/9.892, allocations: 22.09 MB / 4.035 GB, free: 365.2 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04811/9.94, allocations: 8.097 MB / 4.043 GB, free: 357.5 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.581/12.52, allocations: 424 MB / 4.457 GB, free: 0.5984 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0154/12.54, allocations: 9.637 MB / 4.467 GB, free: 0.5945 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02495/12.56, allocations: 6.792 MB / 4.473 GB, free: 0.5926 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01994/12.58, allocations: 10.04 MB / 4.483 GB, free: 0.5895 GB / 1.748 GB Notification: Performance of SimCode: time 1.252e-06/12.58, allocations: 0 / 4.483 GB, free: 0.5895 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.609/14.19, allocations: 0.8093 GB / 5.292 GB, free: 0.4897 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 77.29/91.48, allocations: 9.047 kB / 5.292 GB, free: 0.4896 GB / 1.748 GB " [Timeout remaining time 208] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 101.91499495701282] Failed to read output from testmodel.py, exit status != 0: 91.97113755898317 91.982293434 90.210782137 Calling exit ...