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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001277/0.001277, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6814/0.6814, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 60.47 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 80.21 MB / 0.5795 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.7972/0.9273, allocations: 353 MB / 0.9243 GB, free: 44.21 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.08023/1.008, allocations: 73 MB / 0.9955 GB, free: 33.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01427/1.022, allocations: 394.8 kB / 0.9959 GB, free: 33.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01331/1.035, allocations: 4.422 MB / 1 GB, free: 31.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03135/1.067, allocations: 12.53 MB / 1.012 GB, free: 23.15 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01877/1.085, allocations: 8.882 MB / 1.021 GB, free: 17.69 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04423/1.13, allocations: 48.24 MB / 1.068 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02309/1.153, allocations: 17.53 MB / 1.085 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02844/1.181, allocations: 14.51 MB / 1.1 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02685/1.208, allocations: 15.71 MB / 1.115 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00878/1.217, allocations: 1.207 MB / 1.116 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01762/1.235, allocations: 4.876 MB / 1.121 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.007906/1.242, allocations: 5.092 MB / 1.126 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.01693/1.259, allocations: 9.562 MB / 1.135 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.03504/1.294, allocations: 28.12 MB / 1.163 GB, free: 6.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.295, allocations: 4 kB / 1.163 GB, free: 6.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.082e-06/1.295, allocations: 0 / 1.163 GB, free: 6.062 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000627/1.295, allocations: 0 / 1.163 GB, free: 6.062 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.519/1.814, allocations: 22.26 MB / 1.184 GB, free: 320.9 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.814, allocations: 12.44 kB / 1.184 GB, free: 320.9 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004325/1.819, allocations: 1.042 MB / 1.185 GB, free: 320.4 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/1.831, allocations: 2.24 MB / 1.188 GB, free: 319.4 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0339/1.865, allocations: 17.71 MB / 1.205 GB, free: 311.8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007113/1.866, allocations: 0.6752 MB / 1.206 GB, free: 311.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004335/1.87, allocations: 0.9251 MB / 1.206 GB, free: 311.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04144/1.912, allocations: 16.42 MB / 1.222 GB, free: 305.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/1.912, allocations: 9.438 kB / 1.222 GB, free: 305.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003131/1.915, allocations: 320.8 kB / 1.223 GB, free: 305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003829/1.916, allocations: 369.5 kB / 1.223 GB, free: 305 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03701/1.953, allocations: 20.89 MB / 1.244 GB, free: 296.1 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.1146/2.067, allocations: 81.51 MB / 1.323 GB, free: 211.6 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/2.084, allocations: 12.42 MB / 1.335 GB, free: 199.4 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01204/2.096, allocations: 9.747 MB / 1.345 GB, free: 189.7 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.05914/2.155, allocations: 34.43 MB / 1.378 GB, free: 154.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01351/2.168, allocations: 9.609 MB / 1.388 GB, free: 145.2 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.024/2.192, allocations: 8.546 MB / 1.396 GB, free: 136.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=555): time 3.742e-05/2.193, allocations: 0 / 1.396 GB, free: 136.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=826): time 1.352/3.545, allocations: 214.5 MB / 1.606 GB, free: 267.4 MB / 0.7952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1399/3.685, allocations: 55.23 MB / 1.66 GB, free: 227.1 MB / 0.7952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02656/3.712, allocations: 17.52 MB / 1.677 GB, free: 209.7 MB / 0.7952 GB Notification: Performance of collectPreVariables (initialization): time 0.00376/3.715, allocations: 221.6 kB / 1.677 GB, free: 209.5 MB / 0.7952 GB Notification: Performance of collectInitialEqns (initialization): time 0.007075/3.722, allocations: 7.243 MB / 1.684 GB, free: 203.6 MB / 0.7952 GB Notification: Performance of collectInitialBindings (initialization): time 0.007617/3.73, allocations: 2.943 MB / 1.687 GB, free: 202 MB / 0.7952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01215/3.742, allocations: 3.532 MB / 1.69 GB, free: 198.5 MB / 0.7952 GB Notification: Performance of setup shared object (initialization): time 3.894e-05/3.742, allocations: 313 kB / 1.691 GB, free: 198.1 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02512/3.767, allocations: 18.88 MB / 1.709 GB, free: 179.2 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02777/3.795, allocations: 21.46 MB / 1.73 GB, free: 156.8 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05257/3.848, allocations: 36.05 MB / 1.765 GB, free: 119.9 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-05/3.848, allocations: 16 kB / 1.765 GB, free: 119.9 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.8118/4.66, allocations: 131.3 MB / 1.893 GB, free: 265.9 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 7.653e-05/4.66, allocations: 54.11 kB / 1.893 GB, free: 265.9 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-05/4.66, allocations: 53.09 kB / 1.894 GB, free: 265.9 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5323/5.192, allocations: 117.9 MB / 2.009 GB, free: 201.1 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01492/5.207, allocations: 3.274 MB / 2.012 GB, free: 197.9 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1175/5.325, allocations: 77.54 MB / 2.088 GB, free: 120.3 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0716/5.396, allocations: 6.728 MB / 2.094 GB, free: 113.7 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00473/5.401, allocations: 1.284 MB / 2.095 GB, free: 112.4 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03675/5.438, allocations: 21.92 MB / 2.117 GB, free: 90.45 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04138/5.479, allocations: 21.01 MB / 2.137 GB, free: 68.45 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05336/5.533, allocations: 35.17 MB / 2.172 GB, free: 32.48 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.794e-05/5.533, allocations: 16 kB / 2.172 GB, free: 32.46 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.7806/6.313, allocations: 129.9 MB / 2.299 GB, free: 229.6 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/6.313, allocations: 61.69 kB / 2.299 GB, free: 229.5 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/6.313, allocations: 52 kB / 2.299 GB, free: 229.5 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5175/6.831, allocations: 117.6 MB / 2.413 GB, free: 112.2 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01484/6.846, allocations: 3.261 MB / 2.417 GB, free: 109 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1336/6.98, allocations: 81.48 MB / 2.496 GB, free: 27.41 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3246/7.304, allocations: 6.741 MB / 2.503 GB, free: 255.4 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003725/7.308, allocations: 1.255 MB / 2.504 GB, free: 255.4 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.004056/7.312, allocations: 0.7235 MB / 2.505 GB, free: 255.2 MB / 0.7952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004888/7.317, allocations: 1.479 MB / 2.506 GB, free: 255.2 MB / 0.7952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1905/7.507, allocations: 60.07 MB / 2.565 GB, free: 250.6 MB / 0.7952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1896/7.697, allocations: 66.42 MB / 2.63 GB, free: 213.9 MB / 0.7952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-05/7.697, allocations: 28 kB / 2.63 GB, free: 213.9 MB / 0.7952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1777/7.875, allocations: 65.77 MB / 2.694 GB, free: 148.3 MB / 0.7952 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 postOpt removeSimpleEquations (simulation): time 0.5212/8.396, allocations: 129.1 MB / 2.82 GB, free: 239.3 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.761e-05/8.396, allocations: 3.188 kB / 2.82 GB, free: 239.3 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01011/8.406, allocations: 1.88 MB / 2.822 GB, free: 239.3 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3164/8.723, allocations: 81.42 MB / 2.901 GB, free: 232 MB / 0.7952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003227/8.726, allocations: 0.5674 MB / 2.902 GB, free: 231.7 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09201/8.818, allocations: 55.72 MB / 2.956 GB, free: 198.2 MB / 0.7952 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 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 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.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 ] 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.1047/8.923, allocations: 53.17 MB / 3.008 GB, free: 144.1 MB / 0.7952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2121/9.135, allocations: 95.1 MB / 3.101 GB, free: 49.98 MB / 0.7952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01266/9.148, allocations: 5.729 MB / 3.107 GB, free: 44.83 MB / 0.7952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005324/9.153, allocations: 211.9 kB / 3.107 GB, free: 44.62 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04155/9.194, allocations: 3.637 MB / 3.111 GB, free: 41 MB / 0.7952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0043/9.199, allocations: 0.8576 MB / 3.111 GB, free: 40.14 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002382/9.201, allocations: 0.6237 MB / 3.112 GB, free: 39.52 MB / 0.7952 GB Notification: Performance of sorting global known variables: time 0.01619/9.217, allocations: 12.27 MB / 3.124 GB, free: 27.32 MB / 0.7952 GB Notification: Performance of sort global known variables: time 1.2e-07/9.217, allocations: 0 / 3.124 GB, free: 27.32 MB / 0.7952 GB Notification: Performance of remove unused functions: time 0.3585/9.576, allocations: 38.48 MB / 3.162 GB, free: 254.2 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 (609): * Single equations (assignments): 588 * 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.2266/9.803, allocations: 96.44 MB / 3.256 GB, free: 218.9 MB / 0.7952 GB Notification: Performance of simCode: created initialization part: time 0.1095/9.912, allocations: 74.1 MB / 3.328 GB, free: 152.7 MB / 0.7952 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/9.912, allocations: 4 kB / 3.328 GB, free: 152.7 MB / 0.7952 GB Notification: Performance of simCode: created simulation system equations: time 0.04489/9.957, allocations: 25.18 MB / 3.353 GB, free: 128 MB / 0.7952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05091/10.01, allocations: 7.365 MB / 3.36 GB, free: 121.2 MB / 0.7952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.104/12.11, allocations: 0.5177 GB / 3.878 GB, free: 220.9 MB / 0.7952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01381/12.13, allocations: 9.732 MB / 3.887 GB, free: 216.7 MB / 0.7952 GB Notification: Performance of simCode: alias equations: time 0.02981/12.16, allocations: 7.45 MB / 3.894 GB, free: 214.7 MB / 0.7952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02014/12.18, allocations: 9.619 MB / 3.904 GB, free: 210.4 MB / 0.7952 GB Notification: Performance of SimCode: time 8.12e-07/12.18, allocations: 0 / 3.904 GB, free: 210.4 MB / 0.7952 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.929/19.1, allocations: 0.7405 GB / 4.644 GB, free: 178.2 MB / 0.7952 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/19.11, allocations: 262.5 kB / 4.644 GB, free: 177.9 MB / 0.7952 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/37.41, allocations: 2.5 kB / 4.645 GB, free: 177.9 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)