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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 111.5 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.802/0.802, allocations: 132.2 MB / 429.4 MB, free: 5.93 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.45 kB / 0.5894 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1558, allocations: 80.22 MB / 0.6678 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.691/0.8468, allocations: 355.6 MB / 1.015 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.542/1.389, allocations: 72.82 MB / 1.086 GB, free: 36.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01803/1.407, allocations: 429.4 kB / 1.087 GB, free: 36.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0165/1.423, allocations: 5.315 MB / 1.092 GB, free: 36.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03933/1.463, allocations: 13.51 MB / 1.105 GB, free: 36.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0237/1.487, allocations: 9.743 MB / 1.114 GB, free: 36.04 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.04532/1.532, allocations: 37.5 MB / 1.151 GB, free: 35.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02632/1.558, allocations: 19.81 MB / 1.17 GB, free: 29.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03363/1.592, allocations: 16.7 MB / 1.187 GB, free: 22.17 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02567/1.618, allocations: 15.83 MB / 1.202 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.007359/1.625, allocations: 1.859 MB / 1.204 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02023/1.645, allocations: 5.7 MB / 1.21 GB, free: 180 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.01115/1.657, allocations: 5.771 MB / 1.215 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02292/1.679, allocations: 10.37 MB / 1.225 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.05105/1.731, allocations: 29.11 MB / 1.254 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.731, allocations: 0 / 1.254 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/1.731, allocations: 4 kB / 1.254 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0008479/1.731, allocations: 0 / 1.254 GB, free: 4.367 MB / 0.8575 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.06265/1.794, allocations: 22.83 MB / 1.276 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.794, allocations: 8.031 kB / 1.276 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004029/1.798, allocations: 1.045 MB / 1.277 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/1.81, allocations: 2.327 MB / 1.279 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03888/1.849, allocations: 18.13 MB / 1.297 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007241/1.849, allocations: 0.663 MB / 1.298 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00424/1.854, allocations: 0.9307 MB / 1.299 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04045/1.894, allocations: 16.41 MB / 1.315 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003839/1.895, allocations: 15.89 kB / 1.315 GB, free: 6.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003754/1.898, allocations: 329.5 kB / 1.315 GB, free: 5.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004554/1.899, allocations: 375.1 kB / 1.315 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04162/1.94, allocations: 20.85 MB / 1.336 GB, free: 0.6836 MB / 0.9356 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.1493/2.09, allocations: 81.93 MB / 1.416 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3583/2.448, allocations: 12.37 MB / 1.428 GB, free: 492 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01822/2.466, allocations: 9.768 MB / 1.437 GB, free: 490.1 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.06594/2.532, allocations: 34.44 MB / 1.471 GB, free: 473.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01712/2.55, allocations: 9.588 MB / 1.48 GB, free: 468.1 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0193/2.569, allocations: 5.769 MB / 1.486 GB, free: 466.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=551): time 3.837e-05/2.569, allocations: 0 / 1.486 GB, free: 466.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=822): time 0.8804/3.449, allocations: 217 MB / 1.698 GB, free: 264.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1237/3.573, allocations: 55.96 MB / 1.753 GB, free: 207 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02855/3.602, allocations: 17.64 MB / 1.77 GB, free: 189.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003802/3.606, allocations: 213.7 kB / 1.77 GB, free: 189.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.006692/3.612, allocations: 7.287 MB / 1.777 GB, free: 182 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00749/3.62, allocations: 3.06 MB / 1.78 GB, free: 179 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009862/3.63, allocations: 3.544 MB / 1.784 GB, free: 175.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.871e-05/3.63, allocations: 305.1 kB / 1.784 GB, free: 175.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02455/3.654, allocations: 18.87 MB / 1.802 GB, free: 156.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02825/3.683, allocations: 21.46 MB / 1.823 GB, free: 133.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05261/3.735, allocations: 36.04 MB / 1.858 GB, free: 96.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.166e-05/3.735, allocations: 16 kB / 1.858 GB, free: 96.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.9374/4.673, allocations: 131.4 MB / 1.987 GB, free: 442.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/4.673, allocations: 53.08 kB / 1.987 GB, free: 442.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.612e-05/4.673, allocations: 52.47 kB / 1.987 GB, free: 442.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5751/5.248, allocations: 118 MB / 2.102 GB, free: 363.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/5.264, allocations: 3.267 MB / 2.105 GB, free: 360.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1316/5.396, allocations: 81.58 MB / 2.185 GB, free: 279.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08817/5.484, allocations: 6.318 MB / 2.191 GB, free: 272.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005819/5.49, allocations: 1.282 MB / 2.192 GB, free: 271.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0327/5.523, allocations: 21.91 MB / 2.214 GB, free: 249.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02537/5.548, allocations: 21 MB / 2.234 GB, free: 227.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04564/5.594, allocations: 35.15 MB / 2.269 GB, free: 191.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.252e-05/5.594, allocations: 16 kB / 2.269 GB, free: 191.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.5911/6.185, allocations: 130 MB / 2.395 GB, free: 62.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/6.185, allocations: 53.7 kB / 2.396 GB, free: 62.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/6.185, allocations: 56 kB / 2.396 GB, free: 62.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9492/7.134, allocations: 117.6 MB / 2.51 GB, free: 426.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0158/7.15, allocations: 3.246 MB / 2.514 GB, free: 425.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.141/7.291, allocations: 86.15 MB / 2.598 GB, free: 358.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08858/7.38, allocations: 6.34 MB / 2.604 GB, free: 352.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005851/7.386, allocations: 1.247 MB / 2.605 GB, free: 351.1 MB / 1.029 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 (1027): * Single equations (assignments): 1011 * 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.006126/7.392, allocations: 0.7251 MB / 2.606 GB, free: 350.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005981/7.398, allocations: 1.552 MB / 2.607 GB, free: 349.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1957/7.594, allocations: 60.06 MB / 2.666 GB, free: 289.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1949/7.789, allocations: 66.55 MB / 2.731 GB, free: 223.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001537/7.789, allocations: 31.88 kB / 2.731 GB, free: 223.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1923/7.981, allocations: 65.88 MB / 2.795 GB, free: 157.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2594/8.24, allocations: 128.8 MB / 2.921 GB, free: 28.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.349e-05/8.241, allocations: 0 / 2.921 GB, free: 28.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01016/8.251, allocations: 1.879 MB / 2.923 GB, free: 27.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.683/8.934, allocations: 81.37 MB / 3.002 GB, free: 422.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003561/8.937, allocations: 0.563 MB / 3.003 GB, free: 422.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09793/9.035, allocations: 58.32 MB / 3.06 GB, free: 388.8 MB / 1.029 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 2 : 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. 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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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.1043/9.14, allocations: 54.04 MB / 3.113 GB, free: 333.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.237/9.377, allocations: 94.96 MB / 3.206 GB, free: 239.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01507/9.392, allocations: 5.805 MB / 3.211 GB, free: 235 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007982/9.4, allocations: 219.7 kB / 3.211 GB, free: 234.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05121/9.451, allocations: 3.233 MB / 3.215 GB, free: 231.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005638/9.457, allocations: 0.8537 MB / 3.215 GB, free: 230.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003695/9.461, allocations: 0.6237 MB / 3.216 GB, free: 230 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.02145/9.482, allocations: 12.35 MB / 3.228 GB, free: 217.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.41e-07/9.482, allocations: 3.938 kB / 3.228 GB, free: 217.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.08017/9.562, allocations: 38.12 MB / 3.265 GB, free: 179.6 MB / 1.029 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 (605): * Single equations (assignments): 584 * 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.24/9.802, allocations: 96.37 MB / 3.359 GB, free: 83.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.1198/9.922, allocations: 74.14 MB / 3.432 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/9.922, allocations: 3.938 kB / 3.432 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.454/10.38, allocations: 25.23 MB / 3.456 GB, free: 454.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05892/10.44, allocations: 7.179 MB / 3.463 GB, free: 453.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.489/11.92, allocations: 426.2 MB / 3.88 GB, free: 79.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0173/11.94, allocations: 9.739 MB / 3.889 GB, free: 69.35 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.02957/11.97, allocations: 7.442 MB / 3.896 GB, free: 61.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02323/11.99, allocations: 9.607 MB / 3.906 GB, free: 52.28 MB / 1.029 GB Notification: Performance of SimCode: time 1.212e-06/11.99, allocations: 0 / 3.906 GB, free: 52.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.122/14.12, allocations: 0.7645 GB / 4.67 GB, free: 255.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 84.99/99.11, allocations: 14.06 kB / 4.67 GB, free: 255.9 MB / 1.029 GB " [Timeout remaining time 560] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 103.05373866204172] Failed to read output from testmodel.py, exit status != 0: 99.52393092191778 99.538126342 97.804934332 Calling exit ...