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.001478/0.001478, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002447/0.002448, allocations: 187.8 kB / 16.66 MB, free: 6.59 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8347/0.8347, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 68.72 kB / 0.5809 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1775, allocations: 80.21 MB / 0.6593 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.6936/0.8711, allocations: 355.5 MB / 1.006 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1108/0.9819, allocations: 72.84 MB / 1.078 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01406/0.996, allocations: 425.5 kB / 1.078 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01608/1.012, allocations: 5.314 MB / 1.083 GB, free: 3.551 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03914/1.051, allocations: 13.51 MB / 1.096 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02525/1.077, allocations: 9.746 MB / 1.106 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.8331/1.91, allocations: 37.49 MB / 1.143 GB, free: 32.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03389/1.944, allocations: 19.8 MB / 1.162 GB, free: 30.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0432/1.987, allocations: 16.71 MB / 1.178 GB, free: 29.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03576/2.023, allocations: 15.83 MB / 1.194 GB, free: 27.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00973/2.032, allocations: 1.864 MB / 1.195 GB, free: 27.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/2.051, allocations: 5.696 MB / 1.201 GB, free: 27.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.01251/2.064, allocations: 5.777 MB / 1.207 GB, free: 27.06 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02261/2.086, allocations: 10.37 MB / 1.217 GB, free: 24.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04318/2.13, allocations: 29.11 MB / 1.245 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/2.13, allocations: 0 / 1.245 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-06/2.13, allocations: 4 kB / 1.245 GB, free: 17.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0009715/2.131, allocations: 0 / 1.245 GB, free: 17.89 MB / 0.8419 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.06233/2.193, allocations: 22.83 MB / 1.268 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/2.193, allocations: 8.031 kB / 1.268 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004721/2.198, allocations: 1.048 MB / 1.269 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/2.21, allocations: 2.329 MB / 1.271 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04181/2.252, allocations: 18.12 MB / 1.289 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008149/2.253, allocations: 0.6652 MB / 1.289 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005469/2.258, allocations: 0.9285 MB / 1.29 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04412/2.302, allocations: 16.41 MB / 1.306 GB, free: 7.648 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004167/2.303, allocations: 17.58 kB / 1.306 GB, free: 7.637 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004375/2.307, allocations: 329.6 kB / 1.306 GB, free: 7.562 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004668/2.308, allocations: 365.4 kB / 1.307 GB, free: 7.223 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04288/2.351, allocations: 20.85 MB / 1.327 GB, free: 3.926 MB / 0.8888 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.1543/2.505, allocations: 81.94 MB / 1.407 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02253/2.527, allocations: 12.36 MB / 1.419 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01749/2.545, allocations: 9.772 MB / 1.429 GB, free: 9.609 MB / 0.9982 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.07638/2.621, allocations: 34.43 MB / 1.462 GB, free: 6.777 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01967/2.641, allocations: 9.59 MB / 1.472 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02173/2.663, allocations: 5.774 MB / 1.477 GB, free: 7.504 MB / 1.045 GB Notification: Performance of pre-optimization done (n=551): time 2.912e-05/2.663, allocations: 0 / 1.477 GB, free: 7.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=822): time 1.252/3.914, allocations: 217 MB / 1.689 GB, free: 376.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1295/4.044, allocations: 55.98 MB / 1.744 GB, free: 319.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02483/4.069, allocations: 17.63 MB / 1.761 GB, free: 301.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.003638/4.073, allocations: 213.7 kB / 1.761 GB, free: 301.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.007086/4.08, allocations: 7.287 MB / 1.769 GB, free: 294.4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.007224/4.087, allocations: 3.07 MB / 1.772 GB, free: 291.4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01162/4.099, allocations: 3.539 MB / 1.775 GB, free: 287.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.425e-05/4.099, allocations: 305.1 kB / 1.775 GB, free: 287.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02608/4.125, allocations: 18.88 MB / 1.794 GB, free: 268.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02813/4.153, allocations: 21.46 MB / 1.815 GB, free: 246.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05303/4.206, allocations: 36.03 MB / 1.85 GB, free: 209.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-05/4.206, allocations: 20 kB / 1.85 GB, free: 209.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.6035/4.81, allocations: 131.4 MB / 1.978 GB, free: 77.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-05/4.81, allocations: 57.64 kB / 1.978 GB, free: 77.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.95e-05/4.81, allocations: 56 kB / 1.978 GB, free: 77.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9316/5.741, allocations: 118 MB / 2.094 GB, free: 464.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01666/5.758, allocations: 3.258 MB / 2.097 GB, free: 464.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.132/5.89, allocations: 81.59 MB / 2.176 GB, free: 414.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08845/5.979, allocations: 6.316 MB / 2.183 GB, free: 408.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004644/5.983, allocations: 1.283 MB / 2.184 GB, free: 407 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02894/6.012, allocations: 21.9 MB / 2.205 GB, free: 385 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0261/6.038, allocations: 21 MB / 2.226 GB, free: 363 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0466/6.085, allocations: 35.15 MB / 2.26 GB, free: 327 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.802e-05/6.085, allocations: 20 kB / 2.26 GB, free: 327 MB / 1.061 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.5973/6.682, allocations: 130 MB / 2.387 GB, free: 197.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/6.682, allocations: 57.7 kB / 2.387 GB, free: 197.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-05/6.682, allocations: 52 kB / 2.387 GB, free: 197.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6123/7.295, allocations: 117.6 MB / 2.502 GB, free: 80.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/7.311, allocations: 3.248 MB / 2.505 GB, free: 77.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4625/7.773, allocations: 86.12 MB / 2.589 GB, free: 445.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09294/7.866, allocations: 6.34 MB / 2.595 GB, free: 445.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004725/7.871, allocations: 1.26 MB / 2.597 GB, free: 445.4 MB / 1.061 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.004414/7.875, allocations: 0.7182 MB / 2.597 GB, free: 445.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00529/7.881, allocations: 1.551 MB / 2.599 GB, free: 445.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2066/8.087, allocations: 60.05 MB / 2.658 GB, free: 433.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2235/8.311, allocations: 66.56 MB / 2.723 GB, free: 386.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001203/8.311, allocations: 28 kB / 2.723 GB, free: 386.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.206/8.517, allocations: 65.88 MB / 2.787 GB, free: 320.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2688/8.786, allocations: 128.8 MB / 2.913 GB, free: 192.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.345e-05/8.786, allocations: 3.938 kB / 2.913 GB, free: 192.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01069/8.797, allocations: 1.872 MB / 2.915 GB, free: 190.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3385/9.135, allocations: 81.39 MB / 2.994 GB, free: 109.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003177/9.138, allocations: 0.5651 MB / 2.995 GB, free: 108.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09933/9.238, allocations: 58.3 MB / 3.051 GB, free: 50.31 MB / 1.061 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.4247/9.662, allocations: 54.04 MB / 3.104 GB, free: 447.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2401/9.903, allocations: 94.97 MB / 3.197 GB, free: 428.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01373/9.916, allocations: 5.803 MB / 3.203 GB, free: 425 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005954/9.922, allocations: 221.7 kB / 3.203 GB, free: 424.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05254/9.975, allocations: 3.233 MB / 3.206 GB, free: 423.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004628/9.98, allocations: 0.8561 MB / 3.207 GB, free: 422.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00252/9.982, allocations: 0.6167 MB / 3.207 GB, free: 422.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.01862/10, allocations: 12.35 MB / 3.22 GB, free: 412.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.91e-07/10, allocations: 0 / 3.22 GB, free: 412.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.07735/10.08, allocations: 38.13 MB / 3.257 GB, free: 374.4 MB / 1.061 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.2336/10.31, allocations: 96.36 MB / 3.351 GB, free: 279.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.1158/10.43, allocations: 74.14 MB / 3.423 GB, free: 205.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/10.43, allocations: 4 kB / 3.423 GB, free: 205.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.05102/10.48, allocations: 25.24 MB / 3.448 GB, free: 180.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04766/10.53, allocations: 7.178 MB / 3.455 GB, free: 173.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.815/12.34, allocations: 426.2 MB / 3.871 GB, free: 280.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009281/12.35, allocations: 9.738 MB / 3.881 GB, free: 270.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.02325/12.37, allocations: 7.437 MB / 3.888 GB, free: 263.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01734/12.39, allocations: 9.615 MB / 3.897 GB, free: 253.7 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/12.39, allocations: 0.875 kB / 3.897 GB, free: 253.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.554/14.95, allocations: 0.7645 GB / 4.662 GB, free: 425.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 83.98/98.92, allocations: 6.844 kB / 4.662 GB, free: 425.1 MB / 1.061 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)