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.001655/0.001655, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001868/0.001868, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.622/1.622, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.953/2.953, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",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.002315/0.002315, allocations: 75.89 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.4101/1.516, allocations: 361.8 MB / 1.632 GB, free: 1.57 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1252/1.641, allocations: 76.09 MB / 1.707 GB, free: 5.297 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01899/1.66, allocations: 0.5771 MB / 1.707 GB, free: 4.715 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.02071/1.68, allocations: 6.604 MB / 1.714 GB, free: 14.07 MB / 1.404 GB Notification: Performance of NFTyping.typeBindings: time 0.05006/1.731, allocations: 14.76 MB / 1.728 GB, free: 15.25 MB / 1.42 GB Notification: Performance of NFTyping.typeClassSections: time 0.02706/1.758, allocations: 10.4 MB / 1.738 GB, free: 4.918 MB / 1.42 GB Notification: Performance of NFFlatten.flatten: time 0.1166/1.874, allocations: 74.41 MB / 1.811 GB, free: 10.36 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9184/2.793, allocations: 17.39 MB / 1.828 GB, free: 114.5 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04064/2.833, allocations: 17.67 MB / 1.845 GB, free: 114.5 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03301/2.866, allocations: 17.2 MB / 1.862 GB, free: 112.5 MB / 1.498 GB Notification: Performance of NFPackage.collectConstants: time 0.009252/2.875, allocations: 1.97 MB / 1.864 GB, free: 112.5 MB / 1.498 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02344/2.899, allocations: 6.326 MB / 1.87 GB, free: 112.5 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.01128/2.91, allocations: 6.671 MB / 1.877 GB, free: 111.7 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 0.0291/2.939, allocations: 11.29 MB / 1.888 GB, free: 108.8 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.04961/2.989, allocations: 31.8 MB / 1.919 GB, free: 104.7 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/2.989, allocations: 0.6562 kB / 1.919 GB, free: 104.7 MB / 1.498 GB Notification: Performance of FrontEnd: time 1.683e-06/2.989, allocations: 0 / 1.919 GB, free: 104.7 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.00138/2.99, allocations: 0 / 1.919 GB, free: 104.7 MB / 1.498 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.08614/3.076, allocations: 22.36 MB / 1.94 GB, free: 95.6 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/3.077, allocations: 9.719 kB / 1.94 GB, free: 95.6 MB / 1.498 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002133/3.077, allocations: 205.9 kB / 1.941 GB, free: 95.58 MB / 1.498 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007355/3.084, allocations: 1.053 MB / 1.942 GB, free: 95.5 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02144/3.106, allocations: 3.302 MB / 1.945 GB, free: 94.35 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04977/3.155, allocations: 23.2 MB / 1.968 GB, free: 87.8 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007401/3.156, allocations: 0.6719 MB / 1.968 GB, free: 87.79 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006923/3.163, allocations: 0.9404 MB / 1.969 GB, free: 87.77 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04463/3.208, allocations: 17.22 MB / 1.986 GB, free: 82.63 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004172/3.208, allocations: 13.88 kB / 1.986 GB, free: 82.63 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004752/3.213, allocations: 325.8 kB / 1.986 GB, free: 82.63 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000328/3.213, allocations: 375.5 kB / 1.987 GB, free: 82.59 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04226/3.255, allocations: 21.86 MB / 2.008 GB, free: 78.11 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.147/3.402, allocations: 82.37 MB / 2.088 GB, free: 4.863 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02383/3.426, allocations: 11.85 MB / 2.1 GB, free: 9.254 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01832/3.444, allocations: 8.954 MB / 2.109 GB, free: 300 kB / 1.514 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.08398/3.528, allocations: 34.29 MB / 2.142 GB, free: 13.66 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02168/3.55, allocations: 10.28 MB / 2.152 GB, free: 3.309 MB / 1.561 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03401/3.584, allocations: 8.253 MB / 2.16 GB, free: 11.29 MB / 1.576 GB Notification: Performance of pre-optimization done (n=567): time 3.076e-05/3.584, allocations: 0 / 2.16 GB, free: 11.29 MB / 1.576 GB Notification: Performance of matching and sorting (n=838): time 1.076/4.66, allocations: 217.6 MB / 2.373 GB, free: 0.8555 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1716/4.831, allocations: 55.86 MB / 2.427 GB, free: 7.977 MB / 1.842 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04463/4.876, allocations: 20.51 MB / 2.447 GB, free: 3.566 MB / 1.857 GB Notification: Performance of collectPreVariables (initialization): time 0.004356/4.88, allocations: 221.7 kB / 2.448 GB, free: 3.344 MB / 1.857 GB Notification: Performance of collectInitialEqns (initialization): time 0.01312/4.893, allocations: 7.882 MB / 2.455 GB, free: 11.5 MB / 1.873 GB Notification: Performance of collectInitialBindings (initialization): time 0.01064/4.904, allocations: 3.139 MB / 2.458 GB, free: 8.395 MB / 1.873 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01825/4.922, allocations: 4.007 MB / 2.462 GB, free: 4.375 MB / 1.873 GB Notification: Performance of setup shared object (initialization): time 0.0001286/4.922, allocations: 305.1 kB / 2.463 GB, free: 4.074 MB / 1.873 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04018/4.963, allocations: 20.27 MB / 2.482 GB, free: 15.78 MB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6902/5.653, allocations: 23.11 MB / 2.505 GB, free: 0.7993 GB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06939/5.722, allocations: 38.6 MB / 2.543 GB, free: 0.7907 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/5.722, allocations: 16.19 kB / 2.543 GB, free: 0.7907 GB / 1.904 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6282/6.351, allocations: 134.2 MB / 2.674 GB, free: 0.729 GB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-05/6.351, allocations: 61.88 kB / 2.674 GB, free: 0.7289 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-05/6.351, allocations: 56 kB / 2.674 GB, free: 0.7289 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5989/6.95, allocations: 118 MB / 2.789 GB, free: 0.6141 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01938/6.969, allocations: 3.555 MB / 2.792 GB, free: 0.6106 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1458/7.115, allocations: 81.91 MB / 2.872 GB, free: 0.5305 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09894/7.214, allocations: 6.455 MB / 2.879 GB, free: 0.5242 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0067/7.22, allocations: 1.31 MB / 2.88 GB, free: 0.5229 GB / 1.904 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04271/7.263, allocations: 23.68 MB / 2.903 GB, free: 0.4998 GB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0363/7.299, allocations: 22.59 MB / 2.925 GB, free: 488.2 MB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05941/7.359, allocations: 37.57 MB / 2.962 GB, free: 449.8 MB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.68e-05/7.359, allocations: 16 kB / 2.962 GB, free: 449.8 MB / 1.904 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6216/7.981, allocations: 132.6 MB / 3.091 GB, free: 318.1 MB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/7.981, allocations: 57.7 kB / 3.092 GB, free: 318 MB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-05/7.981, allocations: 55.84 kB / 3.092 GB, free: 318 MB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5995/8.58, allocations: 117.6 MB / 3.206 GB, free: 200.7 MB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/8.598, allocations: 3.533 MB / 3.21 GB, free: 197.2 MB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1494/8.748, allocations: 86.16 MB / 3.294 GB, free: 110.9 MB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1014/8.849, allocations: 6.497 MB / 3.3 GB, free: 104.4 MB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006236/8.855, allocations: 1.286 MB / 3.302 GB, free: 103.2 MB / 1.904 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.008052/8.863, allocations: 0.7637 MB / 3.302 GB, free: 102.4 MB / 1.904 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008732/8.872, allocations: 1.706 MB / 3.304 GB, free: 101.5 MB / 1.904 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2293/9.101, allocations: 60.26 MB / 3.363 GB, free: 41.27 MB / 1.904 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.9679/10.07, allocations: 66.08 MB / 3.427 GB, free: 0.7708 GB / 1.904 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002396/10.07, allocations: 28.66 kB / 3.427 GB, free: 0.7708 GB / 1.904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2279/10.3, allocations: 65.4 MB / 3.491 GB, free: 0.756 GB / 1.904 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3123/10.61, allocations: 129.7 MB / 3.618 GB, free: 0.655 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.915e-05/10.61, allocations: 0 / 3.618 GB, free: 0.655 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01199/10.62, allocations: 1.985 MB / 3.62 GB, free: 0.6531 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3464/10.97, allocations: 81.38 MB / 3.699 GB, free: 0.574 GB / 1.904 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004192/10.97, allocations: 0.5729 MB / 3.7 GB, free: 0.5735 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1097/11.08, allocations: 58.56 MB / 3.757 GB, free: 0.5163 GB / 1.904 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.1182/11.2, allocations: 54.08 MB / 3.81 GB, free: 473.6 MB / 1.904 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2548/11.46, allocations: 95.33 MB / 3.903 GB, free: 379.4 MB / 1.904 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01915/11.47, allocations: 6.111 MB / 3.909 GB, free: 374.2 MB / 1.904 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01117/11.49, allocations: 212 kB / 3.909 GB, free: 374 MB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05828/11.54, allocations: 3.315 MB / 3.912 GB, free: 370.7 MB / 1.904 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006491/11.55, allocations: 0.8771 MB / 3.913 GB, free: 369.8 MB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004307/11.55, allocations: 0.6237 MB / 3.914 GB, free: 369.2 MB / 1.904 GB Notification: Performance of sorting global known variables: time 0.02788/11.58, allocations: 14.3 MB / 3.928 GB, free: 355 MB / 1.904 GB Notification: Performance of sort global known variables: time 3e-07/11.58, allocations: 0 / 3.928 GB, free: 355 MB / 1.904 GB Notification: Performance of remove unused functions: time 0.1008/11.68, allocations: 38.74 MB / 3.966 GB, free: 316.2 MB / 1.904 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.2752/11.96, allocations: 96.79 MB / 4.06 GB, free: 219.8 MB / 1.904 GB Notification: Performance of simCode: created initialization part: time 0.1384/12.1, allocations: 74.01 MB / 4.133 GB, free: 145.8 MB / 1.904 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/12.1, allocations: 5.938 kB / 4.133 GB, free: 145.8 MB / 1.904 GB Notification: Performance of simCode: created simulation system equations: time 0.05806/12.15, allocations: 23.18 MB / 4.155 GB, free: 122.6 MB / 1.904 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06223/12.22, allocations: 7.99 MB / 4.163 GB, free: 114.9 MB / 1.904 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.042/15.26, allocations: 443.6 MB / 4.596 GB, free: 0.5584 GB / 1.904 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02457/15.28, allocations: 10.46 MB / 4.606 GB, free: 0.5481 GB / 1.904 GB Notification: Performance of simCode: alias equations: time 0.04076/15.32, allocations: 7.992 MB / 4.614 GB, free: 0.5406 GB / 1.904 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03299/15.36, allocations: 10.36 MB / 4.624 GB, free: 0.5304 GB / 1.904 GB Notification: Performance of SimCode: time 1.654e-06/15.36, allocations: 3.938 kB / 4.624 GB, free: 0.5304 GB / 1.904 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.964/17.32, allocations: 0.8148 GB / 5.439 GB, free: 0.571 GB / 1.904 GB Notification: Performance of buildModelFMU: Generate platform static: time 130/147.3, allocations: 4.062 kB / 5.439 GB, free: 0.571 GB / 1.904 GB " [Timeout remaining time 152] (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: 158.95353165798588] Failed to read output from testmodel.py, exit status != 0: 147.8080998910009 147.824157598 144.831270783 Calling exit ...