Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001614/0.001614, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001935/0.001935, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.8 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_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.002612/0.002612, allocations: 64.58 kB / 1.117 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3363, allocations: 169.9 MB / 1.283 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.107/1.444, allocations: 365.3 MB / 1.64 GB, free: 54.27 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.09063/1.534, allocations: 76.35 MB / 1.715 GB, free: 45.72 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01636/1.551, allocations: 0.5781 MB / 1.715 GB, free: 45.72 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01781/1.568, allocations: 6.727 MB / 1.722 GB, free: 43.77 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.03526/1.604, allocations: 15.04 MB / 1.737 GB, free: 34.85 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.0228/1.626, allocations: 10.68 MB / 1.747 GB, free: 28.05 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.1062/1.733, allocations: 76.46 MB / 1.822 GB, free: 10.6 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02834/1.761, allocations: 15.83 MB / 1.837 GB, free: 11.31 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0404/1.801, allocations: 17.76 MB / 1.854 GB, free: 10.5 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03412/1.836, allocations: 17.22 MB / 1.871 GB, free: 10.41 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.008394/1.844, allocations: 1.973 MB / 1.873 GB, free: 8.438 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02199/1.866, allocations: 6.46 MB / 1.879 GB, free: 2.25 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01122/1.877, allocations: 6.686 MB / 1.886 GB, free: 11.79 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02369/1.901, allocations: 11.29 MB / 1.897 GB, free: 0.6875 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.05615/1.957, allocations: 31.82 MB / 1.928 GB, free: 2.043 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.957, allocations: 3.938 kB / 1.928 GB, free: 2.039 MB / 1.404 GB Notification: Performance of FrontEnd: time 1.492e-06/1.957, allocations: 0 / 1.928 GB, free: 2.039 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001118/1.958, allocations: 0 / 1.928 GB, free: 2.039 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.07251/2.031, allocations: 22.3 MB / 1.95 GB, free: 11.77 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/2.031, allocations: 11.98 kB / 1.95 GB, free: 11.76 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00509/2.036, allocations: 1.057 MB / 1.951 GB, free: 10.7 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01877/2.055, allocations: 3.313 MB / 1.954 GB, free: 7.375 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05299/2.108, allocations: 23.18 MB / 1.977 GB, free: 468 kB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007876/2.108, allocations: 0.6677 MB / 1.977 GB, free: 15.79 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00407/2.112, allocations: 0.9449 MB / 1.978 GB, free: 14.86 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03914/2.152, allocations: 17.23 MB / 1.995 GB, free: 13.43 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/2.152, allocations: 15.89 kB / 1.995 GB, free: 13.42 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00231/2.154, allocations: 331.5 kB / 1.996 GB, free: 13.1 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003973/2.154, allocations: 367.3 kB / 1.996 GB, free: 12.74 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04385/2.198, allocations: 21.88 MB / 2.017 GB, free: 6.848 MB / 1.498 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/2.357, allocations: 82.44 MB / 2.098 GB, free: 0.8828 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02406/2.381, allocations: 11.71 MB / 2.109 GB, free: 5.445 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01871/2.4, allocations: 8.967 MB / 2.118 GB, free: 12.47 MB / 1.607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.07798/2.478, allocations: 32.84 MB / 2.15 GB, free: 11.67 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01931/2.497, allocations: 10.29 MB / 2.16 GB, free: 1.312 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03014/2.527, allocations: 8.263 MB / 2.168 GB, free: 9.191 MB / 1.654 GB Notification: Performance of pre-optimization done (n=567): time 2.864e-05/2.527, allocations: 0 / 2.168 GB, free: 9.191 MB / 1.654 GB Notification: Performance of matching and sorting (n=838): time 1.727/4.255, allocations: 217.4 MB / 2.38 GB, free: 0.5225 GB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1423/4.397, allocations: 55.59 MB / 2.435 GB, free: 478.5 MB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03567/4.432, allocations: 20.56 MB / 2.455 GB, free: 458.1 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.003775/4.436, allocations: 225.3 kB / 2.455 GB, free: 457.9 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.008492/4.445, allocations: 7.877 MB / 2.463 GB, free: 450.3 MB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.00813/4.453, allocations: 3.148 MB / 2.466 GB, free: 447.2 MB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01606/4.469, allocations: 3.992 MB / 2.47 GB, free: 443.2 MB / 1.686 GB Notification: Performance of setup shared object (initialization): time 4.877e-05/4.469, allocations: 313 kB / 2.47 GB, free: 442.9 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02945/4.498, allocations: 20.29 MB / 2.49 GB, free: 422.6 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03148/4.53, allocations: 23.12 MB / 2.512 GB, free: 398.4 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05859/4.589, allocations: 38.66 MB / 2.55 GB, free: 359 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/4.589, allocations: 12 kB / 2.55 GB, free: 358.9 MB / 1.686 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5803/5.169, allocations: 134.3 MB / 2.681 GB, free: 224.6 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/5.169, allocations: 61.69 kB / 2.681 GB, free: 224.5 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.269e-05/5.169, allocations: 56.12 kB / 2.681 GB, free: 224.4 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5604/5.729, allocations: 117.9 MB / 2.797 GB, free: 106.6 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01818/5.748, allocations: 3.556 MB / 2.8 GB, free: 103 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1524/5.9, allocations: 81.8 MB / 2.88 GB, free: 20.84 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07984/5.98, allocations: 6.452 MB / 2.886 GB, free: 14.38 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006439/5.986, allocations: 1.314 MB / 2.888 GB, free: 13.07 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.76/6.746, allocations: 23.68 MB / 2.911 GB, free: 0.5987 GB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03478/6.781, allocations: 22.6 MB / 2.933 GB, free: 0.5907 GB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06172/6.843, allocations: 37.62 MB / 2.969 GB, free: 0.5771 GB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.777e-05/6.843, allocations: 13.81 kB / 2.969 GB, free: 0.5771 GB / 1.686 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5799/7.423, allocations: 132.7 MB / 3.099 GB, free: 480.2 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/7.423, allocations: 53.7 kB / 3.099 GB, free: 480.1 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/7.423, allocations: 52 kB / 3.099 GB, free: 480.1 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6344/8.057, allocations: 117.6 MB / 3.214 GB, free: 362.8 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01701/8.074, allocations: 3.537 MB / 3.217 GB, free: 359.3 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1723/8.247, allocations: 85.93 MB / 3.301 GB, free: 273.3 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08159/8.328, allocations: 6.499 MB / 3.308 GB, free: 266.8 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006664/8.335, allocations: 1.284 MB / 3.309 GB, free: 265.5 MB / 1.686 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 (1171): * Single equations (assignments): 1151 * 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.009922/8.345, allocations: 0.7632 MB / 3.31 GB, free: 264.8 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01085/8.356, allocations: 1.699 MB / 3.311 GB, free: 264 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2013/8.557, allocations: 60.3 MB / 3.37 GB, free: 204 MB / 1.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2038/8.761, allocations: 66.1 MB / 3.435 GB, free: 137.9 MB / 1.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001703/8.761, allocations: 36.81 kB / 3.435 GB, free: 137.9 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2038/8.965, allocations: 65.43 MB / 3.499 GB, free: 72.46 MB / 1.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.115/10.08, allocations: 129.7 MB / 3.625 GB, free: 0.567 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001254/10.08, allocations: 0 / 3.625 GB, free: 0.567 GB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.011/10.09, allocations: 1.976 MB / 3.627 GB, free: 0.5669 GB / 1.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3041/10.39, allocations: 81.41 MB / 3.707 GB, free: 0.5183 GB / 1.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003354/10.4, allocations: 0.569 MB / 3.707 GB, free: 0.5178 GB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.101/10.5, allocations: 58.45 MB / 3.764 GB, free: 471.8 MB / 1.686 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : 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 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].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 ] might be structurally or numerically singular for variable valHea.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 : 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.$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. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1063/10.61, allocations: 53 MB / 3.816 GB, free: 418.1 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2333/10.84, allocations: 95.37 MB / 3.909 GB, free: 323.8 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02182/10.86, allocations: 6.199 MB / 3.915 GB, free: 318.6 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007658/10.87, allocations: 211.9 kB / 3.916 GB, free: 318.4 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04943/10.92, allocations: 3.325 MB / 3.919 GB, free: 315 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005556/10.92, allocations: 0.8934 MB / 3.92 GB, free: 314.2 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003004/10.93, allocations: 0.6276 MB / 3.92 GB, free: 313.5 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.0254/10.95, allocations: 14.33 MB / 3.934 GB, free: 299.3 MB / 1.686 GB Notification: Performance of sort global known variables: time 2.61e-07/10.95, allocations: 3.469 kB / 3.934 GB, free: 299.3 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.08555/11.04, allocations: 38.74 MB / 3.972 GB, free: 260.5 MB / 1.686 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($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,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],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 (621): * Single equations (assignments): 600 * 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,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.239/11.28, allocations: 96.83 MB / 4.067 GB, free: 164 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.1287/11.4, allocations: 74.07 MB / 4.139 GB, free: 89.86 MB / 1.686 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/11.4, allocations: 448 / 4.139 GB, free: 89.86 MB / 1.686 GB Notification: Performance of simCode: created simulation system equations: time 0.05119/11.46, allocations: 23.18 MB / 4.162 GB, free: 66.66 MB / 1.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05924/11.51, allocations: 7.994 MB / 4.17 GB, free: 58.93 MB / 1.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.935/14.45, allocations: 443.9 MB / 4.603 GB, free: 299.9 MB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01493/14.46, allocations: 10.47 MB / 4.613 GB, free: 289.4 MB / 1.686 GB Notification: Performance of simCode: alias equations: time 0.02823/14.49, allocations: 7.978 MB / 4.621 GB, free: 281.7 MB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02102/14.51, allocations: 10.37 MB / 4.631 GB, free: 271.3 MB / 1.686 GB Notification: Performance of SimCode: time 2.144e-06/14.51, allocations: 0 / 4.631 GB, free: 271.3 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.015/16.53, allocations: 0.8336 GB / 5.465 GB, free: 69.06 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 138.8/155.4, allocations: 7.797 kB / 5.465 GB, free: 69.05 MB / 1.686 GB " [Timeout remaining time 144] (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 167.35821912204847] Failed to read output from testmodel.py, exit status != 0: 155.8872405339498 155.906951668 153.94568347 Calling exit ...