Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_IDEAS_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.001201/0.001201, 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.001239/0.001239, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7017/0.7017, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.64 kB / 0.5013 GB, free: 8.984 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 80.2 MB / 0.5797 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.7752/0.8998, allocations: 352.2 MB / 0.9236 GB, free: 44.22 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07463/0.9745, allocations: 72.35 MB / 0.9943 GB, free: 34.24 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01384/0.9884, allocations: 395.6 kB / 0.9946 GB, free: 34.24 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01226/1.001, allocations: 4.631 MB / 0.9992 GB, free: 31.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03009/1.031, allocations: 12.57 MB / 1.011 GB, free: 23.59 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01845/1.049, allocations: 8.977 MB / 1.02 GB, free: 18.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03689/1.086, allocations: 37.71 MB / 1.057 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02517/1.111, allocations: 19.76 MB / 1.076 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03088/1.142, allocations: 16.88 MB / 1.093 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02411/1.166, allocations: 16.27 MB / 1.109 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.005927/1.172, allocations: 1.855 MB / 1.111 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/1.188, allocations: 5.751 MB / 1.116 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00803/1.196, allocations: 5.803 MB / 1.122 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.016/1.212, allocations: 10.38 MB / 1.132 GB, free: 4.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0323/1.245, allocations: 28.78 MB / 1.16 GB, free: 8.457 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.245, allocations: 0 / 1.16 GB, free: 8.457 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/1.245, allocations: 0 / 1.16 GB, free: 8.457 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0005922/1.245, allocations: 3.938 kB / 1.16 GB, free: 8.453 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.4646/1.71, allocations: 22.26 MB / 1.182 GB, free: 320.3 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.71, allocations: 14.61 kB / 1.182 GB, free: 320.3 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001869/1.712, allocations: 1.041 MB / 1.183 GB, free: 319.7 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007916/1.72, allocations: 2.241 MB / 1.185 GB, free: 318.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02717/1.747, allocations: 17.7 MB / 1.202 GB, free: 311.2 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/1.748, allocations: 0.6791 MB / 1.203 GB, free: 310.9 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/1.751, allocations: 0.9306 MB / 1.204 GB, free: 310.6 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02855/1.779, allocations: 16.42 MB / 1.22 GB, free: 304.6 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/1.78, allocations: 11.08 kB / 1.22 GB, free: 304.6 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/1.781, allocations: 328.7 kB / 1.22 GB, free: 304.4 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003179/1.781, allocations: 369.4 kB / 1.221 GB, free: 304.3 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/1.81, allocations: 20.89 MB / 1.241 GB, free: 295.9 MB / 0.795 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.088/1.898, allocations: 81.52 MB / 1.321 GB, free: 212.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/1.911, allocations: 12.42 MB / 1.333 GB, free: 200.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009692/1.921, allocations: 9.737 MB / 1.342 GB, free: 190.5 MB / 0.795 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.04504/1.966, allocations: 34.43 MB / 1.376 GB, free: 155.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01025/1.976, allocations: 9.609 MB / 1.385 GB, free: 146.1 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02059/1.997, allocations: 7.52 MB / 1.393 GB, free: 138.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=555): time 1.649e-05/1.997, allocations: 0 / 1.393 GB, free: 138.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=826): time 1.216/3.212, allocations: 214.6 MB / 1.602 GB, free: 268.1 MB / 0.7952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1208/3.333, allocations: 55.99 MB / 1.657 GB, free: 227.9 MB / 0.7952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02036/3.354, allocations: 17.52 MB / 1.674 GB, free: 210.6 MB / 0.7952 GB Notification: Performance of collectPreVariables (initialization): time 0.003484/3.357, allocations: 221.7 kB / 1.674 GB, free: 210.4 MB / 0.7952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004794/3.362, allocations: 7.239 MB / 1.681 GB, free: 204.5 MB / 0.7952 GB Notification: Performance of collectInitialBindings (initialization): time 0.006692/3.369, allocations: 2.941 MB / 1.684 GB, free: 202.9 MB / 0.7952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007099/3.376, allocations: 3.544 MB / 1.688 GB, free: 199.3 MB / 0.7952 GB Notification: Performance of setup shared object (initialization): time 3.473e-05/3.376, allocations: 305.1 kB / 1.688 GB, free: 199 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02255/3.398, allocations: 18.88 MB / 1.706 GB, free: 180.1 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02453/3.423, allocations: 21.47 MB / 1.727 GB, free: 157.6 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0471/3.47, allocations: 36.07 MB / 1.762 GB, free: 120.7 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.845e-05/3.47, allocations: 16 kB / 1.762 GB, free: 120.7 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.8193/4.289, allocations: 131.3 MB / 1.891 GB, free: 265.1 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/4.289, allocations: 53.02 kB / 1.891 GB, free: 265 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.991e-05/4.29, allocations: 53.69 kB / 1.891 GB, free: 265 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5554/4.845, allocations: 118 MB / 2.006 GB, free: 202.1 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01603/4.861, allocations: 3.275 MB / 2.009 GB, free: 199 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1231/4.984, allocations: 81.58 MB / 2.089 GB, free: 117.4 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07525/5.059, allocations: 6.731 MB / 2.095 GB, free: 110.7 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004002/5.063, allocations: 1.282 MB / 2.097 GB, free: 109.4 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0273/5.091, allocations: 21.92 MB / 2.118 GB, free: 87.45 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02269/5.113, allocations: 21.02 MB / 2.139 GB, free: 65.44 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04351/5.157, allocations: 35.17 MB / 2.173 GB, free: 29.48 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.468e-05/5.157, allocations: 19.94 kB / 2.173 GB, free: 29.46 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.7988/5.956, allocations: 129.9 MB / 2.3 GB, free: 226.6 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 7.736e-05/5.956, allocations: 53.7 kB / 2.3 GB, free: 226.5 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/5.956, allocations: 56 kB / 2.3 GB, free: 226.5 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.541/6.497, allocations: 117.7 MB / 2.415 GB, free: 109.2 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01507/6.512, allocations: 3.263 MB / 2.418 GB, free: 105.9 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3972/6.909, allocations: 86.15 MB / 2.502 GB, free: 251.3 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07643/6.986, allocations: 6.748 MB / 2.509 GB, free: 251.3 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004292/6.99, allocations: 1.249 MB / 2.51 GB, free: 251.3 MB / 0.7952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.004311/6.995, allocations: 0.7281 MB / 2.511 GB, free: 251.1 MB / 0.7952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005119/7, allocations: 1.468 MB / 2.512 GB, free: 251.1 MB / 0.7952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1876/7.187, allocations: 60.12 MB / 2.571 GB, free: 244.5 MB / 0.7952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1926/7.38, allocations: 66.48 MB / 2.636 GB, free: 205 MB / 0.7952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000151/7.38, allocations: 35.31 kB / 2.636 GB, free: 205 MB / 0.7952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1839/7.564, allocations: 65.81 MB / 2.7 GB, free: 139.3 MB / 0.7952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4871/8.051, allocations: 128.9 MB / 2.826 GB, free: 242.4 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.479e-05/8.051, allocations: 0 / 2.826 GB, free: 242.4 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01017/8.061, allocations: 1.882 MB / 2.828 GB, free: 242.4 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2966/8.358, allocations: 81.52 MB / 2.907 GB, free: 229.5 MB / 0.7952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003011/8.361, allocations: 0.566 MB / 2.908 GB, free: 229.2 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0916/8.453, allocations: 58.22 MB / 2.965 GB, free: 188 MB / 0.7952 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 + (-valHea.m_flow) - bou.ports[1].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 + (-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.09649/8.549, allocations: 54.06 MB / 3.018 GB, free: 132.9 MB / 0.7952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2062/8.755, allocations: 94.99 MB / 3.11 GB, free: 38.91 MB / 0.7952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01212/8.767, allocations: 5.733 MB / 3.116 GB, free: 33.81 MB / 0.7952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004007/8.772, allocations: 208 kB / 3.116 GB, free: 33.61 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03938/8.811, allocations: 3.624 MB / 3.12 GB, free: 29.98 MB / 0.7952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00312/8.814, allocations: 0.8615 MB / 3.121 GB, free: 29.12 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001426/8.815, allocations: 0.6198 MB / 3.121 GB, free: 28.5 MB / 0.7952 GB Notification: Performance of sorting global known variables: time 0.01291/8.828, allocations: 12.28 MB / 3.133 GB, free: 16.29 MB / 0.7952 GB Notification: Performance of sort global known variables: time 1.5e-07/8.828, allocations: 0 / 3.133 GB, free: 16.29 MB / 0.7952 GB Notification: Performance of remove unused functions: time 0.3246/9.153, allocations: 38.48 MB / 3.171 GB, free: 254.9 MB / 0.7952 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 (610): * Single equations (assignments): 589 * 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.2078/9.361, allocations: 96.29 MB / 3.265 GB, free: 208.8 MB / 0.7952 GB Notification: Performance of simCode: created initialization part: time 0.1563/9.517, allocations: 97.93 MB / 3.36 GB, free: 118.8 MB / 0.7952 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/9.517, allocations: 6 kB / 3.36 GB, free: 118.8 MB / 0.7952 GB Notification: Performance of simCode: created simulation system equations: time 0.04086/9.558, allocations: 25.24 MB / 3.385 GB, free: 93.99 MB / 0.7952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03718/9.595, allocations: 7.199 MB / 3.392 GB, free: 87.51 MB / 0.7952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.979/11.57, allocations: 0.5178 GB / 3.91 GB, free: 209.2 MB / 0.7952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/11.59, allocations: 9.741 MB / 3.919 GB, free: 199.8 MB / 0.7952 GB Notification: Performance of simCode: alias equations: time 0.02506/11.61, allocations: 7.44 MB / 3.927 GB, free: 192.6 MB / 0.7952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01715/11.63, allocations: 9.556 MB / 3.936 GB, free: 183.1 MB / 0.7952 GB Notification: Performance of SimCode: time 7.12e-07/11.63, allocations: 0 / 3.936 GB, free: 183.1 MB / 0.7952 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.221/16.85, allocations: 0.7624 GB / 4.698 GB, free: 178.7 MB / 0.7952 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/16.85, allocations: 259.2 kB / 4.699 GB, free: 178.3 MB / 0.7952 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.04/37.89, allocations: 7.281 kB / 4.699 GB, free: 178.3 MB / 0.7952 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)