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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 107.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.438/2.438, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> 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: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7762, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3597/1.136, allocations: 363.9 MB / 1.627 GB, free: 8.219 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1078/1.244, allocations: 76.26 MB / 1.701 GB, free: 11.77 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01264/1.256, allocations: 433.6 kB / 1.702 GB, free: 11.34 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.01721/1.274, allocations: 6.631 MB / 1.708 GB, free: 4.68 MB / 1.389 GB Notification: Performance of NFTyping.typeBindings: time 0.04006/1.314, allocations: 14.75 MB / 1.723 GB, free: 5.879 MB / 1.404 GB Notification: Performance of NFTyping.typeClassSections: time 0.02459/1.338, allocations: 10.32 MB / 1.733 GB, free: 11.62 MB / 1.42 GB Notification: Performance of NFFlatten.flatten: time 0.1041/1.442, allocations: 74.98 MB / 1.806 GB, free: 0.5 MB / 1.482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02603/1.468, allocations: 15.81 MB / 1.821 GB, free: 0.5273 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03487/1.503, allocations: 17.48 MB / 1.838 GB, free: 15.02 MB / 1.529 GB Notification: Performance of NFSimplifyModel.simplify: time 1.242/2.746, allocations: 17.2 MB / 1.855 GB, free: 133.2 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.009179/2.755, allocations: 1.973 MB / 1.857 GB, free: 133.2 MB / 1.529 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02384/2.779, allocations: 6.152 MB / 1.863 GB, free: 133.2 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.01127/2.79, allocations: 6.678 MB / 1.87 GB, free: 133.2 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.02997/2.82, allocations: 11.28 MB / 1.881 GB, free: 133.2 MB / 1.529 GB Notification: Performance of NFConvertDAE.convert: time 0.05417/2.874, allocations: 31.54 MB / 1.912 GB, free: 129.5 MB / 1.529 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/2.874, allocations: 0.8125 kB / 1.912 GB, free: 129.5 MB / 1.529 GB Notification: Performance of FrontEnd: time 2.094e-06/2.874, allocations: 0 / 1.912 GB, free: 129.5 MB / 1.529 GB Notification: Performance of Transformations before backend: time 0.001025/2.875, allocations: 0 / 1.912 GB, free: 129.5 MB / 1.529 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.07372/2.949, allocations: 22.35 MB / 1.933 GB, free: 120.4 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/2.949, allocations: 14.5 kB / 1.933 GB, free: 120.4 MB / 1.529 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005998/2.955, allocations: 1.05 MB / 1.934 GB, free: 120.3 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/2.974, allocations: 3.299 MB / 1.938 GB, free: 119.1 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04465/3.019, allocations: 23.19 MB / 1.96 GB, free: 116 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000638/3.02, allocations: 0.6714 MB / 1.961 GB, free: 116 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006326/3.026, allocations: 0.941 MB / 1.962 GB, free: 116 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04249/3.068, allocations: 17.22 MB / 1.979 GB, free: 115.2 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/3.069, allocations: 19.44 kB / 1.979 GB, free: 115.2 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004853/3.074, allocations: 333.2 kB / 1.979 GB, free: 115.2 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003127/3.074, allocations: 362.8 kB / 1.979 GB, free: 115.2 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03919/3.113, allocations: 21.86 MB / 2.001 GB, free: 115.1 MB / 1.529 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.1231/3.236, allocations: 82.36 MB / 2.081 GB, free: 69.3 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01859/3.255, allocations: 11.86 MB / 2.093 GB, free: 64.8 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0132/3.268, allocations: 8.954 MB / 2.101 GB, free: 56.94 MB / 1.529 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.05977/3.328, allocations: 34.28 MB / 2.135 GB, free: 22.34 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01522/3.343, allocations: 10.28 MB / 2.145 GB, free: 11.99 MB / 1.529 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02754/3.37, allocations: 8.263 MB / 2.153 GB, free: 3.969 MB / 1.529 GB Notification: Performance of pre-optimization done (n=567): time 2.669e-05/3.37, allocations: 4 kB / 2.153 GB, free: 3.965 MB / 1.529 GB Notification: Performance of matching and sorting (n=838): time 0.9444/4.315, allocations: 217.6 MB / 2.366 GB, free: 9.566 MB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1403/4.455, allocations: 55.87 MB / 2.42 GB, free: 0.6758 MB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03334/4.489, allocations: 20.51 MB / 2.44 GB, free: 12.27 MB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.003954/4.493, allocations: 221.7 kB / 2.44 GB, free: 12.04 MB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.008542/4.501, allocations: 7.872 MB / 2.448 GB, free: 4.195 MB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.007879/4.509, allocations: 3.158 MB / 2.451 GB, free: 1.078 MB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009569/4.519, allocations: 3.997 MB / 2.455 GB, free: 13.06 MB / 1.842 GB Notification: Performance of setup shared object (initialization): time 0.0001078/4.519, allocations: 309.1 kB / 2.455 GB, free: 12.76 MB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03218/4.551, allocations: 20.27 MB / 2.475 GB, free: 8.461 MB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03915/4.59, allocations: 23.09 MB / 2.498 GB, free: 376 kB / 1.873 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6035/5.194, allocations: 38.6 MB / 2.535 GB, free: 0.8041 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.918e-05/5.194, allocations: 13.16 kB / 2.535 GB, free: 0.8041 GB / 1.904 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5876/5.781, allocations: 134.2 MB / 2.666 GB, free: 0.7721 GB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/5.781, allocations: 53.7 kB / 2.666 GB, free: 0.772 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.164e-05/5.781, allocations: 52 kB / 2.667 GB, free: 0.7719 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5606/6.342, allocations: 117.9 MB / 2.782 GB, free: 0.6571 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/6.36, allocations: 3.558 MB / 2.785 GB, free: 0.6537 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1276/6.487, allocations: 81.92 MB / 2.865 GB, free: 0.5736 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09032/6.577, allocations: 6.449 MB / 2.871 GB, free: 0.5673 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00493/6.582, allocations: 1.314 MB / 2.873 GB, free: 0.566 GB / 1.904 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03348/6.616, allocations: 23.67 MB / 2.896 GB, free: 0.5429 GB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02703/6.643, allocations: 22.59 MB / 2.918 GB, free: 0.5198 GB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05025/6.693, allocations: 37.58 MB / 2.955 GB, free: 493.9 MB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.341e-05/6.693, allocations: 16 kB / 2.955 GB, free: 493.9 MB / 1.904 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5627/7.256, allocations: 132.6 MB / 3.084 GB, free: 362.2 MB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/7.256, allocations: 56.36 kB / 3.084 GB, free: 362.2 MB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.027e-05/7.256, allocations: 56.12 kB / 3.084 GB, free: 362.1 MB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5589/7.815, allocations: 117.6 MB / 3.199 GB, free: 244.8 MB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01644/7.831, allocations: 3.537 MB / 3.203 GB, free: 241.3 MB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.129/7.961, allocations: 86.15 MB / 3.287 GB, free: 155.1 MB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09049/8.051, allocations: 6.49 MB / 3.293 GB, free: 148.6 MB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004858/8.056, allocations: 1.286 MB / 3.294 GB, free: 147.3 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.004533/8.06, allocations: 0.7675 MB / 3.295 GB, free: 146.5 MB / 1.904 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005718/8.066, allocations: 1.708 MB / 3.297 GB, free: 145.6 MB / 1.904 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2028/8.269, allocations: 60.26 MB / 3.356 GB, free: 85.41 MB / 1.904 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.7729/9.042, allocations: 66.08 MB / 3.42 GB, free: 0.769 GB / 1.904 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001489/9.042, allocations: 28.62 kB / 3.42 GB, free: 0.769 GB / 1.904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2164/9.258, allocations: 65.4 MB / 3.484 GB, free: 0.7621 GB / 1.904 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2678/9.526, allocations: 129.7 MB / 3.611 GB, free: 0.7033 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.198e-05/9.526, allocations: 4 kB / 3.611 GB, free: 0.7033 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0112/9.537, allocations: 1.969 MB / 3.613 GB, free: 0.7014 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3165/9.854, allocations: 81.4 MB / 3.692 GB, free: 0.6223 GB / 1.904 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003276/9.857, allocations: 0.569 MB / 3.693 GB, free: 0.6217 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09196/9.949, allocations: 58.56 MB / 3.75 GB, free: 0.5646 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.09501/10.04, allocations: 54.08 MB / 3.803 GB, free: 0.5108 GB / 1.904 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2378/10.28, allocations: 95.32 MB / 3.896 GB, free: 428.9 MB / 1.904 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01336/10.3, allocations: 6.118 MB / 3.902 GB, free: 423.7 MB / 1.904 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00471/10.3, allocations: 208 kB / 3.902 GB, free: 423.5 MB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05153/10.35, allocations: 3.324 MB / 3.905 GB, free: 420.2 MB / 1.904 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004451/10.36, allocations: 0.8655 MB / 3.906 GB, free: 419.3 MB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002209/10.36, allocations: 0.6276 MB / 3.907 GB, free: 418.7 MB / 1.904 GB Notification: Performance of sorting global known variables: time 0.02112/10.38, allocations: 14.3 MB / 3.921 GB, free: 404.5 MB / 1.904 GB Notification: Performance of sort global known variables: time 2.2e-07/10.38, allocations: 0 / 3.921 GB, free: 404.5 MB / 1.904 GB Notification: Performance of remove unused functions: time 0.08366/10.46, allocations: 38.73 MB / 3.958 GB, free: 365.8 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.2325/10.7, allocations: 96.83 MB / 4.053 GB, free: 269.4 MB / 1.904 GB Notification: Performance of simCode: created initialization part: time 0.1124/10.81, allocations: 74.03 MB / 4.125 GB, free: 195.3 MB / 1.904 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/10.81, allocations: 0 / 4.125 GB, free: 195.3 MB / 1.904 GB Notification: Performance of simCode: created simulation system equations: time 0.04998/10.86, allocations: 23.17 MB / 4.148 GB, free: 172.1 MB / 1.904 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05515/10.91, allocations: 7.985 MB / 4.156 GB, free: 164.4 MB / 1.904 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.993/12.91, allocations: 443.7 MB / 4.589 GB, free: 0.6134 GB / 1.904 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/12.92, allocations: 10.46 MB / 4.599 GB, free: 0.6032 GB / 1.904 GB Notification: Performance of simCode: alias equations: time 0.02403/12.94, allocations: 7.994 MB / 4.607 GB, free: 0.5956 GB / 1.904 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01938/12.96, allocations: 10.36 MB / 4.617 GB, free: 0.5855 GB / 1.904 GB Notification: Performance of SimCode: time 1.463e-06/12.96, allocations: 0 / 4.617 GB, free: 0.5855 GB / 1.904 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.469/14.43, allocations: 0.8215 GB / 5.439 GB, free: 0.6246 GB / 1.904 GB Notification: Performance of buildModelFMU: Generate platform static: time 84.08/98.51, allocations: 8.844 kB / 5.439 GB, free: 0.6246 GB / 1.904 GB " [Timeout remaining time 201] (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 --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] TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat[Calling sys.exit(0), Time elapsed: 108.47860661399864]