Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001278/0.001278, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001517/0.001517, allocations: 214.9 kB / 22.25 MB, free: 5.125 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002468/0.002468, allocations: 292.2 kB / 312.7 MB, free: 2.879 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.167/1.167, allocations: 180.6 MB / 0.5369 GB, free: 12.89 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002837/0.002837, allocations: 102.4 kB / 0.7397 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1588, allocations: 95.37 MB / 0.8328 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6897/0.8485, allocations: 365.3 MB / 1.189 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.112/0.9605, allocations: 76.34 MB / 1.264 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01284/0.9733, allocations: 0.5771 MB / 1.265 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01777/0.9911, allocations: 6.732 MB / 1.271 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.03821/1.029, allocations: 15.04 MB / 1.286 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.02474/1.054, allocations: 10.68 MB / 1.296 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.9909/2.045, allocations: 76.45 MB / 1.371 GB, free: 63.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02375/2.069, allocations: 15.83 MB / 1.386 GB, free: 62.58 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03709/2.106, allocations: 17.76 MB / 1.404 GB, free: 61.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02884/2.135, allocations: 17.24 MB / 1.421 GB, free: 59.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.008471/2.143, allocations: 1.969 MB / 1.423 GB, free: 59.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01955/2.163, allocations: 6.458 MB / 1.429 GB, free: 59.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.01036/2.173, allocations: 6.69 MB / 1.435 GB, free: 58.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.02027/2.193, allocations: 11.29 MB / 1.446 GB, free: 55.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.04245/2.236, allocations: 31.82 MB / 1.477 GB, free: 46.13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/2.236, allocations: 0 / 1.477 GB, free: 46.13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/2.236, allocations: 0 / 1.477 GB, free: 46.13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.001006/2.237, allocations: 0 / 1.477 GB, free: 46.13 MB / 0.9669 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.05977/2.297, allocations: 22.3 MB / 1.499 GB, free: 30.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/2.297, allocations: 8.625 kB / 1.499 GB, free: 30.61 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004823/2.301, allocations: 1.048 MB / 1.5 GB, free: 30.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/2.319, allocations: 3.311 MB / 1.504 GB, free: 26.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04347/2.363, allocations: 23.19 MB / 1.526 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006384/2.363, allocations: 0.6762 MB / 1.527 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005245/2.369, allocations: 0.9374 MB / 1.528 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03856/2.407, allocations: 17.23 MB / 1.545 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000379/2.408, allocations: 21.81 kB / 1.545 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003907/2.411, allocations: 333.2 kB / 1.545 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004469/2.412, allocations: 366.3 kB / 1.545 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0462/2.458, allocations: 21.87 MB / 1.567 GB, free: 4.586 MB / 0.9982 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.1461/2.604, allocations: 82.46 MB / 1.647 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/2.626, allocations: 11.7 MB / 1.659 GB, free: 4.344 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0162/2.643, allocations: 8.961 MB / 1.667 GB, free: 11.38 MB / 1.108 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.07776/2.72, allocations: 32.84 MB / 1.699 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02051/2.741, allocations: 10.29 MB / 1.709 GB, free: 272 kB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02963/2.77, allocations: 8.266 MB / 1.717 GB, free: 8.211 MB / 1.154 GB Notification: Performance of pre-optimization done (n=567): time 2.349e-05/2.771, allocations: 0 / 1.717 GB, free: 8.211 MB / 1.154 GB Notification: Performance of matching and sorting (n=838): time 1.203/3.974, allocations: 217.5 MB / 1.93 GB, free: 467.9 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1212/4.095, allocations: 55.65 MB / 1.984 GB, free: 411.3 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02861/4.124, allocations: 20.55 MB / 2.004 GB, free: 391 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004355/4.128, allocations: 223.6 kB / 2.004 GB, free: 390.7 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.01092/4.139, allocations: 7.875 MB / 2.012 GB, free: 383.3 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.007662/4.147, allocations: 3.152 MB / 2.015 GB, free: 380.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01211/4.159, allocations: 4 MB / 2.019 GB, free: 376.1 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.145e-05/4.159, allocations: 305.1 kB / 2.019 GB, free: 375.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02632/4.185, allocations: 20.3 MB / 2.039 GB, free: 355.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02879/4.214, allocations: 23.12 MB / 2.062 GB, free: 331.4 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05248/4.266, allocations: 38.65 MB / 2.1 GB, free: 291.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.554e-05/4.266, allocations: 16 kB / 2.1 GB, free: 291.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5476/4.814, allocations: 134.3 MB / 2.231 GB, free: 157.5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/4.814, allocations: 59.2 kB / 2.231 GB, free: 157.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/4.814, allocations: 52 kB / 2.231 GB, free: 157.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5274/5.342, allocations: 118 MB / 2.346 GB, free: 39.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01688/5.358, allocations: 3.555 MB / 2.35 GB, free: 35.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4998/5.858, allocations: 81.81 MB / 2.429 GB, free: 0.4965 GB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07522/5.933, allocations: 6.447 MB / 2.436 GB, free: 0.4963 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005186/5.939, allocations: 1.311 MB / 2.437 GB, free: 0.4963 GB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03371/5.972, allocations: 23.68 MB / 2.46 GB, free: 0.489 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02844/6.001, allocations: 22.61 MB / 2.482 GB, free: 490.6 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0535/6.054, allocations: 37.61 MB / 2.519 GB, free: 457.8 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.436e-05/6.054, allocations: 16 kB / 2.519 GB, free: 457.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.549/6.603, allocations: 132.7 MB / 2.648 GB, free: 326.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/6.603, allocations: 53.7 kB / 2.649 GB, free: 326.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-05/6.604, allocations: 52 kB / 2.649 GB, free: 326.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5268/7.13, allocations: 117.6 MB / 2.763 GB, free: 208.9 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01602/7.146, allocations: 3.533 MB / 2.767 GB, free: 205.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1368/7.283, allocations: 85.94 MB / 2.851 GB, free: 119.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07813/7.361, allocations: 6.502 MB / 2.857 GB, free: 112.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006343/7.368, allocations: 1.282 MB / 2.858 GB, free: 111.6 MB / 1.201 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.00756/7.375, allocations: 0.7658 MB / 2.859 GB, free: 110.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007929/7.383, allocations: 1.702 MB / 2.861 GB, free: 110.1 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1909/7.574, allocations: 60.31 MB / 2.92 GB, free: 50 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6039/8.178, allocations: 66.09 MB / 2.984 GB, free: 0.4967 GB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001463/8.178, allocations: 27.78 kB / 2.984 GB, free: 0.4967 GB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1899/8.368, allocations: 65.44 MB / 3.048 GB, free: 496.6 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2921/8.66, allocations: 129.7 MB / 3.175 GB, free: 376.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001137/8.66, allocations: 0 / 3.175 GB, free: 376.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01098/8.671, allocations: 1.981 MB / 3.177 GB, free: 374.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.291/8.962, allocations: 81.39 MB / 3.256 GB, free: 293.5 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004047/8.966, allocations: 0.5793 MB / 3.257 GB, free: 292.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1048/9.071, allocations: 58.47 MB / 3.314 GB, free: 234.4 MB / 1.201 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.1172/9.188, allocations: 53.06 MB / 3.366 GB, free: 180.6 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2399/9.428, allocations: 95.35 MB / 3.459 GB, free: 86.26 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01833/9.446, allocations: 6.198 MB / 3.465 GB, free: 81.01 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008405/9.455, allocations: 215.9 kB / 3.465 GB, free: 80.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04594/9.501, allocations: 3.317 MB / 3.468 GB, free: 77.48 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005183/9.506, allocations: 0.8963 MB / 3.469 GB, free: 76.58 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003705/9.51, allocations: 0.6315 MB / 3.47 GB, free: 75.95 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.02497/9.535, allocations: 14.33 MB / 3.484 GB, free: 61.7 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.4e-07/9.535, allocations: 0 / 3.484 GB, free: 61.7 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.08804/9.623, allocations: 38.74 MB / 3.522 GB, free: 22.96 MB / 1.201 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.7672/10.39, allocations: 96.82 MB / 3.616 GB, free: 496.9 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.1401/10.53, allocations: 74.07 MB / 3.689 GB, free: 449.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/10.53, allocations: 4 kB / 3.689 GB, free: 449.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.05271/10.58, allocations: 23.18 MB / 3.711 GB, free: 426.8 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06195/10.64, allocations: 7.999 MB / 3.719 GB, free: 419.6 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.964/12.61, allocations: 444 MB / 4.153 GB, free: 485.4 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02129/12.63, allocations: 10.46 MB / 4.163 GB, free: 484.2 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.03542/12.67, allocations: 7.984 MB / 4.171 GB, free: 483.9 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02443/12.69, allocations: 10.37 MB / 4.181 GB, free: 483.9 MB / 1.201 GB Notification: Performance of SimCode: time 1.353e-06/12.69, allocations: 0 / 4.181 GB, free: 483.9 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.447/14.14, allocations: 0.8337 GB / 5.014 GB, free: 253.5 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 115.6/129.7, allocations: 3.625 kB / 5.014 GB, free: 253.5 MB / 1.201 GB " [Timeout remaining time 530] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 138.33889767411165] Failed to read output from testmodel.py, exit status != 0: 130.21237113000825 130.222995558 127.984591021 Calling exit ...