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: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 96.14 kB / 15.87 MB, free: 16 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.001093/0.001093, allocations: 193.7 kB / 16.79 MB, free: 6.812 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7682/0.7682, allocations: 132.2 MB / 422.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 54.11 kB / 0.5017 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1792, allocations: 80.21 MB / 0.58 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 1.063/1.242, allocations: 353 MB / 0.9248 GB, free: 44.18 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09998/1.342, allocations: 73 MB / 0.9961 GB, free: 33.86 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02198/1.364, allocations: 399.4 kB / 0.9965 GB, free: 33.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01794/1.382, allocations: 4.419 MB / 1.001 GB, free: 31.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04325/1.426, allocations: 12.53 MB / 1.013 GB, free: 23.19 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02628/1.452, allocations: 8.881 MB / 1.022 GB, free: 17.72 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.05338/1.505, allocations: 48.25 MB / 1.069 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03009/1.536, allocations: 17.52 MB / 1.086 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03863/1.574, allocations: 14.5 MB / 1.1 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03096/1.605, allocations: 15.71 MB / 1.115 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.008542/1.614, allocations: 1.207 MB / 1.117 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02227/1.636, allocations: 4.876 MB / 1.121 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.01036/1.647, allocations: 5.093 MB / 1.126 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.02504/1.672, allocations: 9.51 MB / 1.136 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.03396/1.706, allocations: 22.19 MB / 1.157 GB, free: 11.94 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.706, allocations: 0 / 1.157 GB, free: 11.94 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.824e-06/1.706, allocations: 0 / 1.157 GB, free: 11.94 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0009674/1.707, allocations: 0 / 1.157 GB, free: 11.94 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.6572/2.364, allocations: 22.11 MB / 1.179 GB, free: 319.1 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/2.364, allocations: 9.844 kB / 1.179 GB, free: 319.1 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/2.378, allocations: 2.226 MB / 1.181 GB, free: 318.1 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04074/2.419, allocations: 15.56 MB / 1.196 GB, free: 311.5 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008956/2.42, allocations: 0.6833 MB / 1.197 GB, free: 311.2 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005485/2.425, allocations: 0.9248 MB / 1.198 GB, free: 310.9 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05232/2.477, allocations: 16.42 MB / 1.214 GB, free: 304.9 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005593/2.478, allocations: 18.14 kB / 1.214 GB, free: 304.9 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004562/2.483, allocations: 323.7 kB / 1.214 GB, free: 304.7 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006685/2.483, allocations: 366.4 kB / 1.215 GB, free: 304.6 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04856/2.532, allocations: 20.89 MB / 1.235 GB, free: 298 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.1398/2.672, allocations: 80.83 MB / 1.314 GB, free: 219.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/2.691, allocations: 12.42 MB / 1.326 GB, free: 207.4 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01445/2.706, allocations: 9.735 MB / 1.336 GB, free: 197.7 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.06975/2.776, allocations: 34.18 MB / 1.369 GB, free: 163.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01671/2.792, allocations: 9.609 MB / 1.378 GB, free: 153.6 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02713/2.82, allocations: 8.55 MB / 1.387 GB, free: 145.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=555): time 4.981e-05/2.82, allocations: 0 / 1.387 GB, free: 145.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=826): time 1.442/4.261, allocations: 214.5 MB / 1.596 GB, free: 270.9 MB / 0.7952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1299/4.391, allocations: 55.23 MB / 1.65 GB, free: 235.6 MB / 0.7952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02387/4.415, allocations: 14.82 MB / 1.664 GB, free: 221 MB / 0.7952 GB Notification: Performance of collectPreVariables (initialization): time 0.004027/4.419, allocations: 217.7 kB / 1.665 GB, free: 220.8 MB / 0.7952 GB Notification: Performance of collectInitialEqns (initialization): time 0.006904/4.426, allocations: 7.195 MB / 1.672 GB, free: 214.9 MB / 0.7952 GB Notification: Performance of collectInitialBindings (initialization): time 0.007596/4.434, allocations: 2.941 MB / 1.675 GB, free: 213.3 MB / 0.7952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01309/4.447, allocations: 3.54 MB / 1.678 GB, free: 209.8 MB / 0.7952 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/4.447, allocations: 301.1 kB / 1.678 GB, free: 209.5 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02494/4.472, allocations: 18.89 MB / 1.697 GB, free: 190.6 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0278/4.5, allocations: 21.46 MB / 1.718 GB, free: 168.1 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05543/4.555, allocations: 36.05 MB / 1.753 GB, free: 131.2 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.224e-05/4.555, allocations: 16 kB / 1.753 GB, free: 131.2 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.8532/5.409, allocations: 131.3 MB / 1.881 GB, free: 262.9 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/5.409, allocations: 58.06 kB / 1.881 GB, free: 262.8 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-05/5.409, allocations: 54.56 kB / 1.881 GB, free: 262.8 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.541/5.95, allocations: 117.9 MB / 1.996 GB, free: 212.5 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01632/5.966, allocations: 3.274 MB / 2 GB, free: 209.3 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1282/6.095, allocations: 77.54 MB / 2.075 GB, free: 131.8 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07582/6.17, allocations: 6.723 MB / 2.082 GB, free: 125.1 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005413/6.176, allocations: 1.282 MB / 2.083 GB, free: 123.8 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03148/6.207, allocations: 21.9 MB / 2.105 GB, free: 101.9 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02698/6.234, allocations: 21.02 MB / 2.125 GB, free: 79.87 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05004/6.284, allocations: 35.16 MB / 2.159 GB, free: 43.92 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.398e-05/6.285, allocations: 16 kB / 2.159 GB, free: 43.91 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.8929/7.177, allocations: 129.9 MB / 2.286 GB, free: 240.5 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/7.178, allocations: 62.22 kB / 2.286 GB, free: 240.4 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-05/7.178, allocations: 65.14 kB / 2.286 GB, free: 240.4 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.524/7.702, allocations: 117.6 MB / 2.401 GB, free: 123.8 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01462/7.716, allocations: 3.26 MB / 2.404 GB, free: 120.5 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1331/7.849, allocations: 81.47 MB / 2.484 GB, free: 38.97 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0747/7.924, allocations: 6.742 MB / 2.491 GB, free: 32.28 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006333/7.931, allocations: 1.251 MB / 2.492 GB, free: 31.02 MB / 0.7952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008279/7.939, allocations: 0.7246 MB / 2.492 GB, free: 30.32 MB / 0.7952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009461/7.948, allocations: 1.464 MB / 2.494 GB, free: 29.64 MB / 0.7952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5394/8.488, allocations: 60.07 MB / 2.553 GB, free: 259.8 MB / 0.7952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2039/8.692, allocations: 66.43 MB / 2.617 GB, free: 228.6 MB / 0.7952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00024/8.692, allocations: 31.94 kB / 2.617 GB, free: 228.6 MB / 0.7952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1984/8.89, allocations: 65.76 MB / 2.682 GB, free: 163 MB / 0.7952 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2796/9.17, allocations: 128.9 MB / 2.808 GB, free: 34.35 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/9.17, allocations: 4 kB / 2.808 GB, free: 34.34 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01049/9.181, allocations: 1.88 MB / 2.809 GB, free: 32.46 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6578/9.838, allocations: 81.41 MB / 2.889 GB, free: 245.2 MB / 0.7952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00423/9.843, allocations: 0.5651 MB / 2.889 GB, free: 244.9 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1065/9.949, allocations: 55.72 MB / 2.944 GB, free: 214.9 MB / 0.7952 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; 1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.117/10.07, allocations: 53.18 MB / 2.996 GB, free: 160.9 MB / 0.7952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2337/10.3, allocations: 95.08 MB / 3.089 GB, free: 66.79 MB / 0.7952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01739/10.32, allocations: 5.652 MB / 3.094 GB, free: 61.75 MB / 0.7952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008334/10.33, allocations: 211.9 kB / 3.094 GB, free: 61.54 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04553/10.37, allocations: 3.635 MB / 3.098 GB, free: 57.93 MB / 0.7952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005509/10.38, allocations: 0.8576 MB / 3.099 GB, free: 57.07 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00358/10.38, allocations: 0.6198 MB / 3.099 GB, free: 56.45 MB / 0.7952 GB Notification: Performance of sorting global known variables: time 0.01919/10.4, allocations: 10.14 MB / 3.109 GB, free: 46.38 MB / 0.7952 GB Notification: Performance of sort global known variables: time 5.61e-07/10.4, allocations: 0 / 3.109 GB, free: 46.38 MB / 0.7952 GB Notification: Performance of remove unused functions: time 0.5431/10.94, allocations: 38.46 MB / 3.147 GB, free: 250 MB / 0.7952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (609): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007796/10.95, allocations: 1.692 MB / 3.149 GB, free: 249.8 MB / 0.7952 GB Notification: Performance of simCode: created initialization part: time 0.1546/11.11, allocations: 74.07 MB / 3.221 GB, free: 234.8 MB / 0.7952 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/11.11, allocations: 3.656 kB / 3.221 GB, free: 234.8 MB / 0.7952 GB Notification: Performance of simCode: created simulation system equations: time 0.05278/11.16, allocations: 25.18 MB / 3.245 GB, free: 226.8 MB / 0.7952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06176/11.22, allocations: 7.352 MB / 3.253 GB, free: 222.8 MB / 0.7952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09929/11.32, allocations: 57.42 MB / 3.309 GB, free: 173 MB / 0.7952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01448/11.33, allocations: 9.63 MB / 3.318 GB, free: 166.3 MB / 0.7952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01167/11.35, allocations: 1.974 MB / 3.32 GB, free: 165.1 MB / 0.7952 GB Notification: Performance of SimCode: time 9.52e-07/11.35, allocations: 0 / 3.32 GB, free: 165.1 MB / 0.7952 GB Notification: Performance of Templates: time 2.991/14.34, allocations: 1.266 GB / 4.586 GB, free: 40.36 MB / 0.7952 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3CalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3CalcHelperMain.o] Error 1