Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_10_Buildings_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.005016/0.005016, allocations: 98.06 kB / 15.73 MB, free: 6.004 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.001437/0.001437, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.263/2.263, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 63.89 kB / 1.018 GB, free: 9.773 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6141, allocations: 151.6 MB / 1.166 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3255/0.9397, allocations: 357.8 MB / 1.516 GB, free: 12.73 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.6295/1.569, allocations: 75.86 MB / 1.59 GB, free: 61.91 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01106/1.58, allocations: 431.2 kB / 1.59 GB, free: 61.91 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01271/1.593, allocations: 6.426 MB / 1.596 GB, free: 61.89 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02835/1.621, allocations: 14.08 MB / 1.61 GB, free: 61.35 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01742/1.639, allocations: 10.19 MB / 1.62 GB, free: 61 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07059/1.709, allocations: 74.19 MB / 1.693 GB, free: 53.03 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02511/1.735, allocations: 20 MB / 1.712 GB, free: 37.74 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02634/1.761, allocations: 17.02 MB / 1.729 GB, free: 22.15 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02098/1.782, allocations: 16.38 MB / 1.745 GB, free: 6.934 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.005577/1.788, allocations: 1.957 MB / 1.747 GB, free: 4.977 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01623/1.804, allocations: 6.046 MB / 1.753 GB, free: 15.2 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.009202/1.813, allocations: 6.489 MB / 1.759 GB, free: 8.945 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02032/1.833, allocations: 11.26 MB / 1.77 GB, free: 13.87 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04357/1.877, allocations: 31.41 MB / 1.801 GB, free: 15.54 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.877, allocations: 0 / 1.801 GB, free: 15.54 MB / 1.342 GB Notification: Performance of FrontEnd: time 2.064e-06/1.877, allocations: 0 / 1.801 GB, free: 15.54 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0012/1.878, allocations: 4 kB / 1.801 GB, free: 15.54 MB / 1.342 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.06309/1.941, allocations: 24.7 MB / 1.825 GB, free: 6.988 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.941, allocations: 8.922 kB / 1.825 GB, free: 6.98 MB / 1.357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003688/1.945, allocations: 1.051 MB / 1.826 GB, free: 5.926 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/1.961, allocations: 3.298 MB / 1.829 GB, free: 2.613 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04452/2.005, allocations: 23.17 MB / 1.852 GB, free: 11.76 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007688/2.006, allocations: 0.6668 MB / 1.852 GB, free: 11.1 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003865/2.01, allocations: 0.9422 MB / 1.853 GB, free: 10.17 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/2.045, allocations: 17.06 MB / 1.87 GB, free: 8.906 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000267/2.045, allocations: 19.83 kB / 1.87 GB, free: 8.887 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/2.048, allocations: 333.1 kB / 1.87 GB, free: 8.57 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003616/2.048, allocations: 371.4 kB / 1.87 GB, free: 8.207 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03803/2.086, allocations: 21.5 MB / 1.891 GB, free: 2.699 MB / 1.42 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.1337/2.22, allocations: 84.07 MB / 1.974 GB, free: 12.07 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/2.242, allocations: 13.02 MB / 1.986 GB, free: 15.28 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01578/2.258, allocations: 10.08 MB / 1.996 GB, free: 5.195 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.0669/2.325, allocations: 35.58 MB / 2.031 GB, free: 1.258 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01683/2.342, allocations: 10.15 MB / 2.041 GB, free: 7.035 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01836/2.36, allocations: 5.83 MB / 2.046 GB, free: 1.363 MB / 1.576 GB Notification: Performance of pre-optimization done (n=567): time 1.908e-05/2.36, allocations: 0 / 2.046 GB, free: 1.363 MB / 1.576 GB Notification: Performance of matching and sorting (n=838): time 1.286/3.646, allocations: 218.1 MB / 2.259 GB, free: 0.6923 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1087/3.755, allocations: 55.98 MB / 2.314 GB, free: 0.6373 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02019/3.775, allocations: 20.51 MB / 2.334 GB, free: 0.6176 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.002882/3.778, allocations: 221.7 kB / 2.334 GB, free: 0.6174 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.004433/3.782, allocations: 7.877 MB / 2.342 GB, free: 0.6112 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.005395/3.788, allocations: 3.145 MB / 2.345 GB, free: 0.6097 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005621/3.793, allocations: 3.996 MB / 2.349 GB, free: 0.6057 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 2.936e-05/3.793, allocations: 309.1 kB / 2.349 GB, free: 0.6054 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02097/3.814, allocations: 20.27 MB / 2.369 GB, free: 0.5856 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02214/3.836, allocations: 23.1 MB / 2.392 GB, free: 0.562 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04302/3.879, allocations: 38.61 MB / 2.429 GB, free: 0.5236 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-05/3.879, allocations: 16 kB / 2.429 GB, free: 0.5235 GB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5192/4.399, allocations: 134.6 MB / 2.561 GB, free: 401.3 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/4.399, allocations: 61.72 kB / 2.561 GB, free: 401.3 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/4.399, allocations: 52 kB / 2.561 GB, free: 401.2 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5338/4.933, allocations: 118 MB / 2.676 GB, free: 283.3 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/4.948, allocations: 3.553 MB / 2.68 GB, free: 279.8 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1131/5.061, allocations: 81.91 MB / 2.76 GB, free: 197.5 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07942/5.141, allocations: 6.449 MB / 2.766 GB, free: 191 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/5.143, allocations: 1.314 MB / 2.767 GB, free: 189.7 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02582/5.169, allocations: 23.68 MB / 2.79 GB, free: 166 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02167/5.191, allocations: 22.58 MB / 2.812 GB, free: 142.4 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.041/5.232, allocations: 37.59 MB / 2.849 GB, free: 104 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.812e-05/5.232, allocations: 12 kB / 2.849 GB, free: 104 MB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.9702/6.202, allocations: 133 MB / 2.979 GB, free: 0.6909 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/6.202, allocations: 64.61 kB / 2.979 GB, free: 0.6909 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.97e-05/6.202, allocations: 48.56 kB / 2.979 GB, free: 0.6909 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5267/6.729, allocations: 117.6 MB / 3.094 GB, free: 0.6078 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0145/6.743, allocations: 3.527 MB / 3.097 GB, free: 0.6045 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1181/6.861, allocations: 86.17 MB / 3.182 GB, free: 0.5203 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07892/6.94, allocations: 6.497 MB / 3.188 GB, free: 0.5139 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/6.943, allocations: 1.279 MB / 3.189 GB, free: 0.5127 GB / 1.701 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.003457/6.946, allocations: 0.7672 MB / 3.19 GB, free: 0.512 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003577/6.95, allocations: 1.708 MB / 3.192 GB, free: 0.5112 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1725/7.122, allocations: 60.77 MB / 3.251 GB, free: 463 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1744/7.297, allocations: 67.03 MB / 3.316 GB, free: 396.2 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.498e-05/7.297, allocations: 28 kB / 3.316 GB, free: 396.2 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1684/7.465, allocations: 66.36 MB / 3.381 GB, free: 329.9 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2268/7.692, allocations: 130.7 MB / 3.509 GB, free: 199.4 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/7.692, allocations: 11.53 kB / 3.509 GB, free: 199.4 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009244/7.701, allocations: 1.977 MB / 3.511 GB, free: 197.4 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2879/7.989, allocations: 81.38 MB / 3.59 GB, free: 116.1 MB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002424/7.992, allocations: 0.5768 MB / 3.591 GB, free: 115.5 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0839/8.076, allocations: 58.57 MB / 3.648 GB, free: 56.92 MB / 1.701 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.5793/8.655, allocations: 54.11 MB / 3.701 GB, free: 0.6769 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2052/8.86, allocations: 96.28 MB / 3.795 GB, free: 0.6545 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01166/8.872, allocations: 6.111 MB / 3.801 GB, free: 0.6503 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003281/8.875, allocations: 212.5 kB / 3.801 GB, free: 0.6501 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04063/8.916, allocations: 3.319 MB / 3.804 GB, free: 0.6486 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002713/8.919, allocations: 0.8615 MB / 3.805 GB, free: 0.6483 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001399/8.92, allocations: 0.632 MB / 3.806 GB, free: 0.648 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.01464/8.935, allocations: 14.3 MB / 3.82 GB, free: 0.6346 GB / 1.701 GB Notification: Performance of sort global known variables: time 3.31e-07/8.935, allocations: 0 / 3.82 GB, free: 0.6346 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.0617/8.996, allocations: 38.73 MB / 3.858 GB, free: 0.5969 GB / 1.701 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.2029/9.199, allocations: 97.79 MB / 3.953 GB, free: 0.5032 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.09589/9.295, allocations: 77.47 MB / 4.029 GB, free: 437.8 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/9.295, allocations: 4 kB / 4.029 GB, free: 437.8 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.04147/9.337, allocations: 25.5 MB / 4.054 GB, free: 412.3 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03615/9.373, allocations: 7.995 MB / 4.061 GB, free: 404.7 MB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.108/11.48, allocations: 444.4 MB / 4.495 GB, free: 0.6598 GB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007637/11.49, allocations: 10.45 MB / 4.506 GB, free: 0.6586 GB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.01959/11.51, allocations: 7.999 MB / 4.513 GB, free: 0.6583 GB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01312/11.52, allocations: 10.37 MB / 4.524 GB, free: 0.6572 GB / 1.701 GB Notification: Performance of SimCode: time 7.22e-07/11.52, allocations: 3.938 kB / 4.524 GB, free: 0.6572 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 22.26/33.79, allocations: 0.8086 GB / 5.332 GB, free: 0.5993 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 92.35/126.1, allocations: 8.938 kB / 5.332 GB, free: 0.5993 GB / 1.701 GB (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat