Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_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.001469/0.001469, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001496/0.001496, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 482.4 MB / 0.7544 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 61.16 kB / 0.9234 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2701, allocations: 162.2 MB / 1.082 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.7316/1.002, allocations: 354.4 MB / 1.428 GB, free: 2.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.09621/1.098, allocations: 75.16 MB / 1.501 GB, free: 9.926 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/1.11, allocations: 405.4 kB / 1.502 GB, free: 9.527 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.03799/1.148, allocations: 23.74 MB / 1.525 GB, free: 1.738 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.03249/1.18, allocations: 12.91 MB / 1.538 GB, free: 4.793 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.01989/1.2, allocations: 9.245 MB / 1.547 GB, free: 11.62 MB / 1.154 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 8.790436005620001e-06, 0.00277777777778, 0.00556874120956, 0.00776635021097, 0.009788150492260001, 0.0113484528833, 0.0127329465541, 0.013985583685, 0.0154360056259, 0.0185205068313837}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.00381944444444, 0.00770833333333, 0.0111111111111, 0.014375, 0.0171527777778, 0.0197916666667, 0.0220138888889, 0.0285371863798742}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0679/1.268, allocations: 55.78 MB / 1.601 GB, free: 3.73 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02346/1.291, allocations: 19.42 MB / 1.62 GB, free: 152 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03185/1.323, allocations: 17.03 MB / 1.637 GB, free: 15.09 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02425/1.348, allocations: 15.87 MB / 1.652 GB, free: 15.16 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.004022/1.352, allocations: 1.844 MB / 1.654 GB, free: 13.32 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/1.365, allocations: 5.953 MB / 1.66 GB, free: 7.359 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.005557/1.371, allocations: 6.102 MB / 1.666 GB, free: 1.238 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.01452/1.385, allocations: 10.8 MB / 1.676 GB, free: 6.387 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03417/1.419, allocations: 29.62 MB / 1.705 GB, free: 8.68 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.419, allocations: 0 / 1.705 GB, free: 8.68 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.784e-06/1.419, allocations: 4 kB / 1.705 GB, free: 8.676 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0006469/1.42, allocations: 0 / 1.705 GB, free: 8.676 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.05285/1.473, allocations: 22.69 MB / 1.727 GB, free: 1.785 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.473, allocations: 15.97 kB / 1.727 GB, free: 1.77 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003221/1.476, allocations: 0.9963 MB / 1.728 GB, free: 0.7617 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/1.492, allocations: 3.1 MB / 1.731 GB, free: 13.63 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04012/1.532, allocations: 21.36 MB / 1.752 GB, free: 8.152 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008368/1.533, allocations: 0.6737 MB / 1.753 GB, free: 7.477 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003764/1.537, allocations: 0.8826 MB / 1.754 GB, free: 6.594 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4498/1.986, allocations: 16.96 MB / 1.77 GB, free: 489.1 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/1.987, allocations: 13.84 kB / 1.77 GB, free: 489.1 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/1.988, allocations: 320.2 kB / 1.771 GB, free: 488.9 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/1.988, allocations: 207.8 kB / 1.771 GB, free: 488.9 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03296/2.021, allocations: 21.08 MB / 1.791 GB, free: 482.3 MB / 1.357 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.09851/2.119, allocations: 82.81 MB / 1.872 GB, free: 421.6 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/2.137, allocations: 13.69 MB / 1.886 GB, free: 413 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01148/2.149, allocations: 10.27 MB / 1.896 GB, free: 402.7 MB / 1.357 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.0429/2.192, allocations: 34.61 MB / 1.929 GB, free: 368.3 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01176/2.203, allocations: 10.37 MB / 1.94 GB, free: 357.9 MB / 1.357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02007/2.223, allocations: 7.535 MB / 1.947 GB, free: 351.2 MB / 1.357 GB Notification: Performance of pre-optimization done (n=507): time 1.639e-05/2.223, allocations: 0 / 1.947 GB, free: 351.2 MB / 1.357 GB Notification: Performance of matching and sorting (n=746): time 0.7547/2.978, allocations: 216.2 MB / 2.158 GB, free: 134.3 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09832/3.077, allocations: 49.13 MB / 2.206 GB, free: 84.04 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01833/3.095, allocations: 19.03 MB / 2.225 GB, free: 65.09 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.002947/3.098, allocations: 209.5 kB / 2.225 GB, free: 64.88 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.004269/3.102, allocations: 7.532 MB / 2.232 GB, free: 57.37 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.005483/3.108, allocations: 2.638 MB / 2.235 GB, free: 54.75 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005838/3.114, allocations: 3.797 MB / 2.238 GB, free: 50.94 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 2.694e-05/3.114, allocations: 309.2 kB / 2.239 GB, free: 50.64 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02268/3.136, allocations: 19.45 MB / 2.258 GB, free: 31.16 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02497/3.161, allocations: 22.23 MB / 2.279 GB, free: 7.914 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4459/3.607, allocations: 37.34 MB / 2.316 GB, free: 438.2 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.692e-05/3.607, allocations: 14.47 kB / 2.316 GB, free: 438.2 MB / 1.357 GB Notification: Performance of matching and sorting (n=1495) (initialization): time 0.5155/4.123, allocations: 132.6 MB / 2.445 GB, free: 367.9 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/4.123, allocations: 57.69 kB / 2.445 GB, free: 367.8 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.063e-05/4.123, allocations: 52 kB / 2.446 GB, free: 367.8 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5057/4.629, allocations: 118 MB / 2.561 GB, free: 250.1 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/4.643, allocations: 3.185 MB / 2.564 GB, free: 246.9 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1143/4.757, allocations: 81.92 MB / 2.644 GB, free: 164.9 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06846/4.826, allocations: 6.991 MB / 2.651 GB, free: 158 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002526/4.828, allocations: 1.298 MB / 2.652 GB, free: 156.7 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02653/4.855, allocations: 22.54 MB / 2.674 GB, free: 134.1 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02263/4.877, allocations: 21.7 MB / 2.695 GB, free: 111.4 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04218/4.92, allocations: 36.32 MB / 2.731 GB, free: 74.32 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.261e-05/4.92, allocations: 12 kB / 2.731 GB, free: 74.31 MB / 1.357 GB Notification: Performance of matching and sorting (n=1495) (initialization_lambda0): time 0.8895/5.809, allocations: 131 MB / 2.859 GB, free: 419.8 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 5.332e-05/5.809, allocations: 53.42 kB / 2.859 GB, free: 419.8 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-05/5.809, allocations: 51.34 kB / 2.859 GB, free: 419.8 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5008/6.31, allocations: 117.7 MB / 2.974 GB, free: 335.1 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/6.323, allocations: 3.162 MB / 2.977 GB, free: 332 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1227/6.446, allocations: 86.16 MB / 3.061 GB, free: 245.8 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06878/6.515, allocations: 7.046 MB / 3.068 GB, free: 238.8 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002886/6.518, allocations: 1.267 MB / 3.069 GB, free: 237.5 MB / 1.357 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 (1047): * Single equations (assignments): 1027 * 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.003678/6.521, allocations: 0.7191 MB / 3.07 GB, free: 236.8 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004182/6.526, allocations: 1.519 MB / 3.071 GB, free: 236.2 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1711/6.697, allocations: 60.46 MB / 3.13 GB, free: 175.8 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1713/6.868, allocations: 64.58 MB / 3.193 GB, free: 111.3 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.905e-05/6.868, allocations: 32 kB / 3.193 GB, free: 111.2 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1664/7.034, allocations: 63.91 MB / 3.256 GB, free: 47.32 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6429/7.677, allocations: 128.2 MB / 3.381 GB, free: 398.7 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.736e-05/7.678, allocations: 0.5 kB / 3.381 GB, free: 398.7 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01032/7.688, allocations: 2.139 MB / 3.383 GB, free: 398.6 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2791/7.967, allocations: 78.46 MB / 3.46 GB, free: 352.6 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003099/7.97, allocations: 0.5338 MB / 3.46 GB, free: 352.1 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08436/8.054, allocations: 55.7 MB / 3.515 GB, free: 296.4 MB / 1.357 GB 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.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 ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.08103/8.136, allocations: 48.74 MB / 3.562 GB, free: 246.6 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.204/8.34, allocations: 91.53 MB / 3.652 GB, free: 155.9 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01154/8.351, allocations: 5.39 MB / 3.657 GB, free: 151 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00392/8.355, allocations: 168 kB / 3.657 GB, free: 150.8 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03948/8.395, allocations: 3.861 MB / 3.661 GB, free: 147 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002847/8.397, allocations: 0.8296 MB / 3.662 GB, free: 146.1 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001464/8.399, allocations: 0.6236 MB / 3.662 GB, free: 145.5 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.0142/8.413, allocations: 13.22 MB / 3.675 GB, free: 132.4 MB / 1.357 GB Notification: Performance of sort global known variables: time 2.3e-07/8.413, allocations: 0 / 3.675 GB, free: 132.4 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.07723/8.49, allocations: 35.25 MB / 3.709 GB, free: 97.2 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (561): * Single equations (assignments): 540 * 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), (37,167)} Notification: Performance of Backend phase and start with SimCode phase: time 0.6356/9.126, allocations: 93.09 MB / 3.8 GB, free: 423.2 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.1665/9.292, allocations: 87.87 MB / 3.886 GB, free: 405.7 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/9.293, allocations: 3.625 kB / 3.886 GB, free: 405.7 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.04528/9.338, allocations: 24.45 MB / 3.91 GB, free: 395.3 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04544/9.383, allocations: 8.113 MB / 3.918 GB, free: 389.6 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.22/11.6, allocations: 0.5204 GB / 4.438 GB, free: 403.9 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008312/11.61, allocations: 9.874 MB / 4.448 GB, free: 396.8 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.02429/11.64, allocations: 6.787 MB / 4.455 GB, free: 390.2 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01457/11.65, allocations: 10.07 MB / 4.464 GB, free: 380.1 MB / 1.373 GB Notification: Performance of SimCode: time 1.382e-06/11.65, allocations: 0 / 4.464 GB, free: 380.1 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.78/16.43, allocations: 0.7717 GB / 5.236 GB, free: 88.24 MB / 1.373 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/16.43, allocations: 289.8 kB / 5.236 GB, free: 87.86 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.45/53.88, allocations: 4 kB / 5.236 GB, free: 87.85 MB / 1.373 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.mat does not exist to compare? outputFormat=mat