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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00632/0.00632, allocations: 101.6 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 196.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 288.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.853/0.853, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 103.8 kB / 0.681 GB, free: 7.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4091, allocations: 86.98 MB / 0.766 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6472/1.056, allocations: 357.7 MB / 1.115 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.09512/1.151, allocations: 75.87 MB / 1.189 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0134/1.165, allocations: 433.5 kB / 1.19 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01638/1.181, allocations: 6.431 MB / 1.196 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03587/1.217, allocations: 14.09 MB / 1.21 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02242/1.24, allocations: 10.18 MB / 1.22 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09148/1.331, allocations: 74.2 MB / 1.292 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02778/1.359, allocations: 20.01 MB / 1.312 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9005/2.26, allocations: 17.41 MB / 1.329 GB, free: 66.02 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02852/2.288, allocations: 16.37 MB / 1.345 GB, free: 64.14 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.009357/2.297, allocations: 1.956 MB / 1.347 GB, free: 64.14 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02051/2.318, allocations: 6.049 MB / 1.353 GB, free: 64.14 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01091/2.329, allocations: 6.493 MB / 1.359 GB, free: 63.41 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02338/2.352, allocations: 11.26 MB / 1.37 GB, free: 60.48 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.04503/2.397, allocations: 31.32 MB / 1.401 GB, free: 57.15 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/2.397, allocations: 0 / 1.401 GB, free: 57.15 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.074e-06/2.398, allocations: 0.6562 kB / 1.401 GB, free: 57.15 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0009567/2.398, allocations: 0 / 1.401 GB, free: 57.15 MB / 0.9357 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.06302/2.462, allocations: 24.06 MB / 1.424 GB, free: 48.55 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/2.462, allocations: 14.16 kB / 1.424 GB, free: 48.55 MB / 0.9357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005025/2.467, allocations: 1.048 MB / 1.425 GB, free: 48.47 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/2.484, allocations: 3.2 MB / 1.428 GB, free: 47.41 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04088/2.525, allocations: 23 MB / 1.451 GB, free: 42.04 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000618/2.525, allocations: 0.6702 MB / 1.451 GB, free: 42.02 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005087/2.53, allocations: 0.9389 MB / 1.452 GB, free: 42 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03266/2.563, allocations: 17.07 MB / 1.469 GB, free: 30.8 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/2.564, allocations: 21.88 kB / 1.469 GB, free: 30.79 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/2.566, allocations: 328.3 kB / 1.469 GB, free: 30.71 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/2.566, allocations: 373.4 kB / 1.47 GB, free: 30.37 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/2.601, allocations: 21.5 MB / 1.491 GB, free: 14.65 MB / 0.9357 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.1387/2.74, allocations: 83.99 MB / 1.573 GB, free: 8.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02314/2.763, allocations: 13.02 MB / 1.585 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01571/2.779, allocations: 10.08 MB / 1.595 GB, free: 1.383 MB / 1.029 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.07437/2.853, allocations: 35.54 MB / 1.63 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01836/2.872, allocations: 10.14 MB / 1.64 GB, free: 3.242 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0205/2.892, allocations: 5.822 MB / 1.645 GB, free: 13.58 MB / 1.092 GB Notification: Performance of pre-optimization done (n=567): time 3.518e-05/2.892, allocations: 0 / 1.645 GB, free: 13.58 MB / 1.092 GB Notification: Performance of matching and sorting (n=838): time 1.203/4.096, allocations: 217.8 MB / 1.858 GB, free: 474.2 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1307/4.226, allocations: 55.96 MB / 1.913 GB, free: 417.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03482/4.261, allocations: 20.5 MB / 1.933 GB, free: 396.9 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.00439/4.266, allocations: 223.2 kB / 1.933 GB, free: 396.7 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00917/4.275, allocations: 7.787 MB / 1.941 GB, free: 389.2 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.008235/4.283, allocations: 2.997 MB / 1.944 GB, free: 386.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01512/4.298, allocations: 3.999 MB / 1.947 GB, free: 382.2 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/4.298, allocations: 309.1 kB / 1.948 GB, free: 381.9 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02571/4.324, allocations: 20.27 MB / 1.968 GB, free: 361.6 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02911/4.353, allocations: 23.1 MB / 1.99 GB, free: 337.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05471/4.408, allocations: 38.62 MB / 2.028 GB, free: 298 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.13e-05/4.408, allocations: 12 kB / 2.028 GB, free: 298 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5396/4.948, allocations: 134.6 MB / 2.159 GB, free: 163.3 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 9.955e-05/4.948, allocations: 61.94 kB / 2.159 GB, free: 163.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-05/4.948, allocations: 52 kB / 2.159 GB, free: 163.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5194/5.467, allocations: 118 MB / 2.275 GB, free: 45.3 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01771/5.485, allocations: 3.545 MB / 2.278 GB, free: 41.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5155/6.001, allocations: 81.89 MB / 2.358 GB, free: 0.49 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07626/6.077, allocations: 6.457 MB / 2.364 GB, free: 0.4899 GB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006858/6.084, allocations: 1.313 MB / 2.366 GB, free: 0.4898 GB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03847/6.122, allocations: 23.67 MB / 2.389 GB, free: 494.1 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0292/6.151, allocations: 22.58 MB / 2.411 GB, free: 485.2 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05456/6.206, allocations: 37.58 MB / 2.447 GB, free: 448.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.151e-05/6.206, allocations: 16 kB / 2.447 GB, free: 448.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5377/6.744, allocations: 133 MB / 2.577 GB, free: 316.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/6.744, allocations: 53.7 kB / 2.577 GB, free: 316.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.809e-05/6.744, allocations: 54.62 kB / 2.577 GB, free: 316.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.513/7.257, allocations: 117.6 MB / 2.692 GB, free: 199.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01619/7.273, allocations: 3.529 MB / 2.696 GB, free: 196 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1372/7.411, allocations: 86.13 MB / 2.78 GB, free: 109.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07481/7.485, allocations: 6.497 MB / 2.786 GB, free: 103.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006068/7.492, allocations: 1.286 MB / 2.787 GB, free: 102 MB / 1.154 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.008491/7.5, allocations: 0.7636 MB / 2.788 GB, free: 101.2 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00779/7.508, allocations: 1.618 MB / 2.79 GB, free: 100.1 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1998/7.708, allocations: 60.77 MB / 2.849 GB, free: 39.4 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5896/8.297, allocations: 67.03 MB / 2.915 GB, free: 0.4899 GB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001329/8.298, allocations: 30.25 kB / 2.915 GB, free: 0.4899 GB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1919/8.489, allocations: 66.36 MB / 2.979 GB, free: 478.9 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2715/8.761, allocations: 130.7 MB / 3.107 GB, free: 348.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-05/8.761, allocations: 0 / 3.107 GB, free: 348.9 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01097/8.772, allocations: 1.981 MB / 3.109 GB, free: 346.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2952/9.067, allocations: 81.39 MB / 3.188 GB, free: 265.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004227/9.072, allocations: 0.5729 MB / 3.189 GB, free: 265.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09257/9.164, allocations: 58.54 MB / 3.246 GB, free: 206.6 MB / 1.154 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.1047/9.269, allocations: 54.13 MB / 3.299 GB, free: 151.4 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2331/9.502, allocations: 96.18 MB / 3.393 GB, free: 56.14 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01801/9.52, allocations: 6.02 MB / 3.399 GB, free: 50.17 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008269/9.528, allocations: 211.9 kB / 3.399 GB, free: 49.96 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04422/9.573, allocations: 3.332 MB / 3.402 GB, free: 46.63 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00553/9.578, allocations: 0.8693 MB / 3.403 GB, free: 45.76 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003931/9.582, allocations: 0.6315 MB / 3.404 GB, free: 45.12 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02541/9.608, allocations: 14.29 MB / 3.418 GB, free: 30.92 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.22e-07/9.608, allocations: 0 / 3.418 GB, free: 30.92 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.5085/10.12, allocations: 38.71 MB / 3.456 GB, free: 0.4917 GB / 1.154 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.2467/10.36, allocations: 97.68 MB / 3.551 GB, free: 468.2 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.1297/10.49, allocations: 77.44 MB / 3.627 GB, free: 401 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/10.49, allocations: 4 kB / 3.627 GB, free: 401 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.05047/10.54, allocations: 25.5 MB / 3.651 GB, free: 375.9 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0599/10.6, allocations: 7.984 MB / 3.659 GB, free: 368.8 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.843/12.45, allocations: 443.7 MB / 4.093 GB, free: 475.6 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01971/12.47, allocations: 10.47 MB / 4.103 GB, free: 471.2 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.03305/12.5, allocations: 7.995 MB / 4.111 GB, free: 468.9 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0258/12.52, allocations: 10.36 MB / 4.121 GB, free: 464.1 MB / 1.154 GB Notification: Performance of SimCode: time 1.172e-06/12.52, allocations: 0 / 4.121 GB, free: 464.1 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.42/13.94, allocations: 0.8276 GB / 4.948 GB, free: 178.8 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 92.46/106.4, allocations: 7.844 kB / 4.948 GB, free: 178.8 MB / 1.154 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)