Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002505/0.002505, allocations: 276.5 kB / 313.5 MB, free: 2.711 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.172/1.172, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 99.08 kB / 0.7403 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1584, allocations: 95.38 MB / 0.8335 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7142/0.8725, allocations: 328.5 MB / 1.154 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1113/0.9838, allocations: 70.69 MB / 1.223 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01549/0.9993, allocations: 0.5733 MB / 1.224 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.02005/1.019, allocations: 6.406 MB / 1.23 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.04062/1.06, allocations: 15.08 MB / 1.245 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02581/1.086, allocations: 10.56 MB / 1.255 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.1114/1.197, allocations: 76.42 MB / 1.33 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02582/1.223, allocations: 15.81 MB / 1.345 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9055/2.128, allocations: 17.89 MB / 1.363 GB, free: 72.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02794/2.156, allocations: 17.22 MB / 1.38 GB, free: 72.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.009125/2.166, allocations: 1.968 MB / 1.381 GB, free: 72.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01938/2.185, allocations: 5.507 MB / 1.387 GB, free: 72.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01144/2.196, allocations: 6.689 MB / 1.393 GB, free: 72.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02571/2.222, allocations: 9.309 MB / 1.402 GB, free: 70.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.04475/2.267, allocations: 31.85 MB / 1.434 GB, free: 65.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/2.267, allocations: 0 / 1.434 GB, free: 65.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/2.267, allocations: 0 / 1.434 GB, free: 65.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001111/2.268, allocations: 0 / 1.434 GB, free: 65.97 MB / 0.9825 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.06481/2.333, allocations: 22.3 MB / 1.455 GB, free: 56.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/2.333, allocations: 14.41 kB / 1.455 GB, free: 56.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001955/2.333, allocations: 205.8 kB / 1.456 GB, free: 56.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004971/2.338, allocations: 1.05 MB / 1.457 GB, free: 56.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/2.356, allocations: 3.311 MB / 1.46 GB, free: 55.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04355/2.399, allocations: 23.19 MB / 1.482 GB, free: 52.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000616/2.4, allocations: 0.6696 MB / 1.483 GB, free: 52.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00474/2.404, allocations: 0.945 MB / 1.484 GB, free: 52.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03302/2.437, allocations: 18.16 MB / 1.502 GB, free: 48.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002803/2.438, allocations: 22.45 kB / 1.502 GB, free: 48.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002954/2.441, allocations: 328.3 kB / 1.502 GB, free: 48.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002908/2.441, allocations: 371.2 kB / 1.502 GB, free: 48.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03476/2.476, allocations: 21.87 MB / 1.524 GB, free: 45.29 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 preOpt removeSimpleEquations (simulation): time 0.1179/2.594, allocations: 64.29 MB / 1.587 GB, free: 3.074 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02233/2.616, allocations: 11.7 MB / 1.598 GB, free: 7.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01664/2.633, allocations: 8.951 MB / 1.607 GB, free: 14.71 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.07724/2.71, allocations: 29.88 MB / 1.636 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02046/2.73, allocations: 11.24 MB / 1.647 GB, free: 5.402 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02996/2.76, allocations: 8.259 MB / 1.655 GB, free: 13.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 2.863e-05/2.76, allocations: 0 / 1.655 GB, free: 13.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=838): time 1.272/4.032, allocations: 217.5 MB / 1.867 GB, free: 0.5234 GB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1281/4.16, allocations: 54.38 MB / 1.92 GB, free: 489.9 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03113/4.192, allocations: 20.55 MB / 1.941 GB, free: 469.6 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.003828/4.195, allocations: 221.7 kB / 1.941 GB, free: 469.4 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.008221/4.204, allocations: 7.881 MB / 1.948 GB, free: 463 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.007339/4.211, allocations: 3.147 MB / 1.951 GB, free: 461.5 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01154/4.222, allocations: 4.003 MB / 1.955 GB, free: 457.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.731e-05/4.223, allocations: 301.1 kB / 1.956 GB, free: 457.2 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02792/4.25, allocations: 20.32 MB / 1.976 GB, free: 436.8 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02943/4.28, allocations: 25.58 MB / 2.001 GB, free: 409.6 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05235/4.332, allocations: 38.64 MB / 2.038 GB, free: 370.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.497e-05/4.332, allocations: 16 kB / 2.038 GB, free: 370.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5388/4.871, allocations: 134.3 MB / 2.169 GB, free: 235.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/4.871, allocations: 57.69 kB / 2.17 GB, free: 235.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.671e-05/4.871, allocations: 52 kB / 2.17 GB, free: 235.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5343/5.406, allocations: 117.9 MB / 2.285 GB, free: 117.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01821/5.424, allocations: 3.555 MB / 2.288 GB, free: 114.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1447/5.569, allocations: 80.98 MB / 2.367 GB, free: 32.89 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0791/5.648, allocations: 6.453 MB / 2.374 GB, free: 26.42 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006653/5.654, allocations: 1.31 MB / 2.375 GB, free: 25.11 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03842/5.693, allocations: 23.72 MB / 2.398 GB, free: 1.363 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4308/6.124, allocations: 25.05 MB / 2.422 GB, free: 0.5169 GB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05354/6.177, allocations: 37.62 MB / 2.459 GB, free: 0.5079 GB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-05/6.177, allocations: 15.84 kB / 2.459 GB, free: 0.5079 GB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5369/6.714, allocations: 132.7 MB / 2.589 GB, free: 417.6 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.536e-05/6.714, allocations: 53.7 kB / 2.589 GB, free: 417.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-05/6.714, allocations: 52 kB / 2.589 GB, free: 417.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5334/7.248, allocations: 117.5 MB / 2.704 GB, free: 300.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01646/7.264, allocations: 3.532 MB / 2.707 GB, free: 296.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1424/7.407, allocations: 84.27 MB / 2.789 GB, free: 212.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07736/7.484, allocations: 6.496 MB / 2.796 GB, free: 206.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006486/7.49, allocations: 1.291 MB / 2.797 GB, free: 204.8 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.008838/7.499, allocations: 0.7574 MB / 2.798 GB, free: 204.1 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008424/7.508, allocations: 1.705 MB / 2.799 GB, free: 203.4 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1945/7.702, allocations: 60.3 MB / 2.858 GB, free: 143.4 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2002/7.902, allocations: 66.1 MB / 2.923 GB, free: 77.45 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001676/7.903, allocations: 31.94 kB / 2.923 GB, free: 77.42 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1917/8.094, allocations: 65.43 MB / 2.987 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7085/8.803, allocations: 111.1 MB / 3.095 GB, free: 495.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/8.803, allocations: 0 / 3.095 GB, free: 495.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01176/8.815, allocations: 1.979 MB / 3.097 GB, free: 494 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3046/9.119, allocations: 81.3 MB / 3.177 GB, free: 419.6 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004281/9.124, allocations: 0.5651 MB / 3.177 GB, free: 419.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09408/9.218, allocations: 57.91 MB / 3.234 GB, free: 361.2 MB / 1.201 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 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 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] 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 + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1007/9.318, allocations: 51.99 MB / 3.284 GB, free: 308.6 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2258/9.544, allocations: 95.37 MB / 3.378 GB, free: 214.4 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02027/9.564, allocations: 6.199 MB / 3.384 GB, free: 208.9 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00955/9.574, allocations: 212 kB / 3.384 GB, free: 208.7 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04661/9.621, allocations: 3.319 MB / 3.387 GB, free: 205.4 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00549/9.626, allocations: 0.8963 MB / 3.388 GB, free: 204.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003809/9.63, allocations: 0.6284 MB / 3.389 GB, free: 203.9 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0273/9.657, allocations: 14.33 MB / 3.403 GB, free: 189.6 MB / 1.201 GB Notification: Performance of sort global known variables: time 2e-07/9.657, allocations: 0 / 3.403 GB, free: 189.6 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.09478/9.752, allocations: 38.74 MB / 3.44 GB, free: 150.9 MB / 1.201 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 (621): * Single equations (assignments): 600 * 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.2448/9.997, allocations: 96.84 MB / 3.535 GB, free: 54.18 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.5969/10.59, allocations: 74.11 MB / 3.607 GB, free: 0.5244 GB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/10.59, allocations: 2.75 kB / 3.607 GB, free: 0.5244 GB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.05065/10.64, allocations: 23.19 MB / 3.63 GB, free: 0.5238 GB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0574/10.7, allocations: 8.001 MB / 3.638 GB, free: 0.522 GB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.436/12.14, allocations: 444 MB / 4.071 GB, free: 126.2 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02249/12.16, allocations: 10.2 MB / 4.081 GB, free: 116 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.03263/12.19, allocations: 7.991 MB / 4.089 GB, free: 108 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02267/12.22, allocations: 10.35 MB / 4.099 GB, free: 97.6 MB / 1.201 GB Notification: Performance of SimCode: time 1.753e-06/12.22, allocations: 3.938 kB / 4.099 GB, free: 97.59 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.928/14.14, allocations: 0.8407 GB / 4.94 GB, free: 410 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 117.7/131.9, allocations: 4.625 kB / 4.94 GB, free: 410 MB / 1.201 GB " [Timeout remaining time 528] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 140.66204795101658] Failed to read output from testmodel.py, exit status != 0: 132.4311398989521 132.442020859 130.172491256 Calling exit ...