Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00995/0.00995, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001924/0.001924, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.647/2.647, allocations: 472.7 MB / 0.7453 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.196/2.204, allocations: 357.7 MB / 1.575 GB, free: 61.66 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1059/2.31, allocations: 75.88 MB / 1.649 GB, free: 60.62 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02614/2.336, allocations: 434.1 kB / 1.65 GB, free: 60.62 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02105/2.357, allocations: 6.438 MB / 1.656 GB, free: 60.5 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.05145/2.408, allocations: 14.09 MB / 1.67 GB, free: 59.91 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03424/2.443, allocations: 10.19 MB / 1.679 GB, free: 58.69 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09386/2.537, allocations: 74.31 MB / 1.752 GB, free: 11.84 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02902/2.566, allocations: 20.05 MB / 1.772 GB, free: 8.387 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04251/2.608, allocations: 17.08 MB / 1.788 GB, free: 8.266 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04124/2.649, allocations: 16.43 MB / 1.804 GB, free: 8.992 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.0144/2.664, allocations: 1.969 MB / 1.806 GB, free: 7.023 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02933/2.693, allocations: 6.056 MB / 1.812 GB, free: 1.242 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01227/2.706, allocations: 6.525 MB / 1.819 GB, free: 10.95 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.0289/2.735, allocations: 11.22 MB / 1.83 GB, free: 15.92 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05712/2.792, allocations: 31.28 MB / 1.86 GB, free: 1.719 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/2.792, allocations: 0 / 1.86 GB, free: 1.719 MB / 1.373 GB Notification: Performance of FrontEnd: time 3.636e-06/2.792, allocations: 4 kB / 1.86 GB, free: 1.715 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.001136/2.793, allocations: 3.938 kB / 1.86 GB, free: 1.711 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.07573/2.869, allocations: 24.57 MB / 1.884 GB, free: 9.262 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/2.869, allocations: 12.03 kB / 1.884 GB, free: 9.25 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/2.887, allocations: 3.29 MB / 1.887 GB, free: 5.945 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05371/2.941, allocations: 21.02 MB / 1.908 GB, free: 1.246 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008047/2.942, allocations: 0.67 MB / 1.908 GB, free: 0.582 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005473/2.947, allocations: 0.9392 MB / 1.909 GB, free: 15.64 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04774/2.995, allocations: 17.1 MB / 1.926 GB, free: 14.35 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003241/2.996, allocations: 15.92 kB / 1.926 GB, free: 14.33 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004094/3, allocations: 327.2 kB / 1.926 GB, free: 14.02 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004365/3, allocations: 371.3 kB / 1.927 GB, free: 13.66 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04768/3.048, allocations: 21.54 MB / 1.948 GB, free: 8.098 MB / 1.467 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.1777/3.226, allocations: 83.01 MB / 2.029 GB, free: 2.434 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02625/3.252, allocations: 13.32 MB / 2.042 GB, free: 5.359 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01807/3.27, allocations: 9.803 MB / 2.051 GB, free: 11.57 MB / 1.576 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.08565/3.356, allocations: 35.54 MB / 2.086 GB, free: 7.695 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02089/3.377, allocations: 10.26 MB / 2.096 GB, free: 13.37 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02487/3.401, allocations: 5.838 MB / 2.102 GB, free: 7.688 MB / 1.623 GB Notification: Performance of pre-optimization done (n=588): time 6.044e-05/3.402, allocations: 4 kB / 2.102 GB, free: 7.684 MB / 1.623 GB Notification: Performance of matching and sorting (n=880): time 1.838/5.24, allocations: 240.3 MB / 2.337 GB, free: 0.6192 GB / 1.717 GB Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 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 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 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 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1201/5.36, allocations: 55.32 MB / 2.391 GB, free: 0.5637 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03119/5.391, allocations: 17.79 MB / 2.408 GB, free: 0.5465 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.004156/5.396, allocations: 229.7 kB / 2.408 GB, free: 0.5463 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.00789/5.404, allocations: 7.814 MB / 2.416 GB, free: 0.5391 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.01241/5.416, allocations: 3.338 MB / 2.419 GB, free: 0.5359 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01612/5.432, allocations: 4.547 MB / 2.423 GB, free: 0.5314 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 3.744e-05/5.432, allocations: 305.1 kB / 2.424 GB, free: 0.5312 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03385/5.466, allocations: 25.64 MB / 2.449 GB, free: 0.5061 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03535/5.501, allocations: 28.49 MB / 2.477 GB, free: 488.7 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06462/5.566, allocations: 46.83 MB / 2.522 GB, free: 441.1 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-05/5.566, allocations: 20 kB / 2.522 GB, free: 441.1 MB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5938/6.16, allocations: 146.1 MB / 2.665 GB, free: 294.8 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 8.322e-05/6.16, allocations: 61.64 kB / 2.665 GB, free: 294.8 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-05/6.16, allocations: 52 kB / 2.665 GB, free: 294.7 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5815/6.742, allocations: 119.8 MB / 2.782 GB, free: 175 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02183/6.764, allocations: 3.805 MB / 2.786 GB, free: 171.2 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1492/6.913, allocations: 84.31 MB / 2.868 GB, free: 86.44 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2175/7.13, allocations: 10.61 MB / 2.879 GB, free: 75.81 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008682/7.139, allocations: 1.672 MB / 2.88 GB, free: 74.13 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04815/7.187, allocations: 29.02 MB / 2.909 GB, free: 45.08 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04033/7.228, allocations: 27.96 MB / 2.936 GB, free: 16.09 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9968/8.225, allocations: 45.78 MB / 2.981 GB, free: 0.6529 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.878e-05/8.225, allocations: 19.25 kB / 2.981 GB, free: 0.6529 GB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6152/8.84, allocations: 144.4 MB / 3.122 GB, free: 0.556 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/8.84, allocations: 54.67 kB / 3.122 GB, free: 0.5559 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-05/8.84, allocations: 49.97 kB / 3.122 GB, free: 0.5558 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5806/9.421, allocations: 118.8 MB / 3.238 GB, free: 450.7 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01921/9.44, allocations: 3.764 MB / 3.241 GB, free: 447 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1569/9.597, allocations: 88.19 MB / 3.328 GB, free: 358.8 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2166/9.814, allocations: 10.66 MB / 3.338 GB, free: 348.1 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009314/9.823, allocations: 1.633 MB / 3.34 GB, free: 346.5 MB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (1164): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 1, 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 {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.01209/9.835, allocations: 0.7684 MB / 3.34 GB, free: 345.7 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01113/9.846, allocations: 1.719 MB / 3.342 GB, free: 344.1 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2269/10.07, allocations: 68.68 MB / 3.409 GB, free: 275.7 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2348/10.31, allocations: 83.2 MB / 3.49 GB, free: 192.4 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001572/10.31, allocations: 28 kB / 3.49 GB, free: 192.4 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2243/10.53, allocations: 82.06 MB / 3.57 GB, free: 110.2 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.259/11.79, allocations: 216 MB / 3.781 GB, free: 0.6077 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.888e-05/11.79, allocations: 3.938 kB / 3.781 GB, free: 0.6077 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01317/11.8, allocations: 2.238 MB / 3.784 GB, free: 0.6056 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5872/12.39, allocations: 144.7 MB / 3.925 GB, free: 476.7 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005289/12.4, allocations: 0.8181 MB / 3.926 GB, free: 475.8 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1272/12.52, allocations: 72.12 MB / 3.996 GB, free: 403.7 MB / 1.717 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$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]) * 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 (631): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]