Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_dev_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.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001149/0.001148, allocations: 191.9 kB / 16.14 MB, free: 6.727 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9308/0.9308, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.36 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1324, allocations: 80.92 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.8418/0.9742, allocations: 353 MB / 0.9286 GB, free: 41.46 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.08002/1.054, allocations: 73 MB / 0.9999 GB, free: 29.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01382/1.068, allocations: 395.5 kB / 1 GB, free: 29.43 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01264/1.081, allocations: 4.422 MB / 1.005 GB, free: 26.64 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03086/1.112, allocations: 12.53 MB / 1.017 GB, free: 18.54 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01949/1.131, allocations: 8.888 MB / 1.025 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04809/1.179, allocations: 48.25 MB / 1.073 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0258/1.205, allocations: 17.52 MB / 1.09 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02911/1.234, allocations: 14.51 MB / 1.104 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0263/1.261, allocations: 15.71 MB / 1.119 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.006935/1.268, allocations: 1.207 MB / 1.12 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01827/1.286, allocations: 4.876 MB / 1.125 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.009251/1.295, allocations: 5.09 MB / 1.13 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.01983/1.315, allocations: 9.573 MB / 1.139 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03853/1.354, allocations: 28.12 MB / 1.167 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.354, allocations: 0 / 1.167 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.323e-06/1.354, allocations: 0 / 1.167 GB, free: 392 kB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0008016/1.354, allocations: 4 kB / 1.167 GB, free: 388 kB / 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.7191/2.074, allocations: 22.26 MB / 1.189 GB, free: 109.3 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/2.074, allocations: 9.75 kB / 1.189 GB, free: 109.3 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004357/2.078, allocations: 1.042 MB / 1.19 GB, free: 109.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/2.091, allocations: 2.242 MB / 1.192 GB, free: 108.2 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04108/2.132, allocations: 17.7 MB / 1.209 GB, free: 105.5 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007615/2.132, allocations: 0.6793 MB / 1.21 GB, free: 105.4 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004274/2.137, allocations: 0.9208 MB / 1.211 GB, free: 105.4 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03499/2.172, allocations: 16.42 MB / 1.227 GB, free: 104.7 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/2.172, allocations: 12.09 kB / 1.227 GB, free: 104.6 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/2.174, allocations: 329.6 kB / 1.227 GB, free: 104.6 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000325/2.175, allocations: 366.9 kB / 1.227 GB, free: 104.6 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03419/2.209, allocations: 20.89 MB / 1.248 GB, free: 97.11 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.1153/2.324, allocations: 81.52 MB / 1.327 GB, free: 20 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/2.341, allocations: 12.42 MB / 1.34 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01263/2.354, allocations: 9.748 MB / 1.349 GB, free: 14.05 MB / 0.8107 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.07351/2.428, allocations: 34.41 MB / 1.383 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01816/2.446, allocations: 9.614 MB / 1.392 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02908/2.475, allocations: 8.544 MB / 1.4 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=555): time 3.062e-05/2.475, allocations: 1.859 kB / 1.4 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=826): time 1.276/3.751, allocations: 214.5 MB / 1.61 GB, free: 211.1 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1303/3.881, allocations: 55.22 MB / 1.664 GB, free: 167.8 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02386/3.905, allocations: 17.53 MB / 1.681 GB, free: 153.9 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.004279/3.909, allocations: 217.7 kB / 1.681 GB, free: 153.7 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.006173/3.915, allocations: 7.226 MB / 1.688 GB, free: 146.9 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.006602/3.922, allocations: 2.935 MB / 1.691 GB, free: 144 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006861/3.929, allocations: 3.545 MB / 1.695 GB, free: 140.4 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 3.303e-05/3.929, allocations: 309 kB / 1.695 GB, free: 140.1 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02469/3.954, allocations: 18.88 MB / 1.713 GB, free: 121.2 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02721/3.981, allocations: 21.46 MB / 1.734 GB, free: 98.8 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05242/4.033, allocations: 36.06 MB / 1.769 GB, free: 62.13 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-05/4.033, allocations: 20 kB / 1.769 GB, free: 62.11 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.9188/4.952, allocations: 131.3 MB / 1.898 GB, free: 233.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/4.952, allocations: 57.77 kB / 1.898 GB, free: 233.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.635e-05/4.952, allocations: 52.97 kB / 1.898 GB, free: 233.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5289/5.481, allocations: 117.9 MB / 2.013 GB, free: 146.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01573/5.497, allocations: 3.272 MB / 2.016 GB, free: 143.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1297/5.627, allocations: 77.54 MB / 2.092 GB, free: 83.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07574/5.702, allocations: 6.718 MB / 2.098 GB, free: 77.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005248/5.708, allocations: 1.285 MB / 2.1 GB, free: 75.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03271/5.74, allocations: 21.91 MB / 2.121 GB, free: 53.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02496/5.765, allocations: 21.02 MB / 2.142 GB, free: 31.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05017/5.816, allocations: 35.16 MB / 2.176 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.83e-05/5.816, allocations: 16 kB / 2.176 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.7827/6.599, allocations: 129.9 MB / 2.303 GB, free: 419.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/6.599, allocations: 57.69 kB / 2.303 GB, free: 419.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.885e-05/6.599, allocations: 60.09 kB / 2.303 GB, free: 419 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5225/7.121, allocations: 117.6 MB / 2.418 GB, free: 301.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/7.136, allocations: 3.246 MB / 2.421 GB, free: 298.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1287/7.264, allocations: 81.48 MB / 2.501 GB, free: 217 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07517/7.34, allocations: 6.743 MB / 2.507 GB, free: 210.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004398/7.344, allocations: 1.251 MB / 2.508 GB, free: 209 MB / 0.9825 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.004447/7.348, allocations: 0.7171 MB / 2.509 GB, free: 208.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005458/7.354, allocations: 1.48 MB / 2.51 GB, free: 206.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2022/7.556, allocations: 60.06 MB / 2.569 GB, free: 146.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1932/7.749, allocations: 66.44 MB / 2.634 GB, free: 80.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/7.749, allocations: 28 kB / 2.634 GB, free: 80.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4739/8.223, allocations: 65.76 MB / 2.698 GB, free: 421.4 MB / 0.9825 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.2796/8.503, allocations: 129.2 MB / 2.824 GB, free: 383.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001199/8.503, allocations: 0 / 2.824 GB, free: 383.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01064/8.514, allocations: 1.88 MB / 2.826 GB, free: 382.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3184/8.832, allocations: 81.41 MB / 2.906 GB, free: 318.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00354/8.836, allocations: 0.5651 MB / 2.906 GB, free: 317.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09147/8.927, allocations: 55.72 MB / 2.961 GB, free: 261.9 MB / 0.9825 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.1123/9.04, allocations: 53.18 MB / 3.013 GB, free: 207.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2312/9.271, allocations: 95.08 MB / 3.105 GB, free: 112.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01617/9.287, allocations: 5.736 MB / 3.111 GB, free: 107.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00843/9.296, allocations: 215.9 kB / 3.111 GB, free: 106.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04433/9.34, allocations: 3.642 MB / 3.115 GB, free: 103.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004918/9.345, allocations: 0.8615 MB / 3.116 GB, free: 102.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002973/9.348, allocations: 0.6198 MB / 3.116 GB, free: 101.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01527/9.363, allocations: 12.27 MB / 3.128 GB, free: 89.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/9.363, allocations: 0 / 3.128 GB, free: 89.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.08977/9.453, allocations: 38.48 MB / 3.166 GB, free: 51.12 MB / 0.9825 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.4886/9.942, allocations: 96.44 MB / 3.26 GB, free: 422.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.1118/10.05, allocations: 74.09 MB / 3.332 GB, free: 398.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/10.05, allocations: 3.719 kB / 3.332 GB, free: 398.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.04571/10.1, allocations: 25.18 MB / 3.357 GB, free: 380.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04473/10.14, allocations: 7.372 MB / 3.364 GB, free: 375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.75/11.89, allocations: 0.5177 GB / 3.882 GB, free: 373.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/11.91, allocations: 9.739 MB / 3.891 GB, free: 363.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.03054/11.94, allocations: 7.441 MB / 3.899 GB, free: 356.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02039/11.96, allocations: 9.615 MB / 3.908 GB, free: 346.6 MB / 0.9825 GB Notification: Performance of SimCode: time 9.62e-07/11.96, allocations: 0 / 3.908 GB, free: 346.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.169/14.13, allocations: 0.7406 GB / 4.649 GB, free: 353.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/14.13, allocations: 275.7 kB / 4.649 GB, free: 353.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/32.66, allocations: 0 / 4.649 GB, free: 353.3 MB / 0.9825 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)