Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.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.001526/0.001526, allocations: 107.5 kB / 16.41 MB, free: 6.449 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.001792/0.001792, allocations: 192.2 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.494/2.494, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 55.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7272, allocations: 157.4 MB / 1.209 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.317/1.044, allocations: 357.8 MB / 1.558 GB, free: 6.668 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.7192/1.763, allocations: 75.85 MB / 1.632 GB, free: 61.08 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.017/1.78, allocations: 432.9 kB / 1.632 GB, free: 61.08 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02033/1.801, allocations: 6.436 MB / 1.639 GB, free: 60.96 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03764/1.839, allocations: 14.09 MB / 1.652 GB, free: 60.38 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02375/1.862, allocations: 10.18 MB / 1.662 GB, free: 60.09 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08034/1.943, allocations: 74.2 MB / 1.735 GB, free: 24.27 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02387/1.967, allocations: 20.01 MB / 1.754 GB, free: 4.859 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0346/2.001, allocations: 17.41 MB / 1.771 GB, free: 4.406 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03039/2.032, allocations: 16.39 MB / 1.787 GB, free: 5.176 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.008371/2.04, allocations: 1.953 MB / 1.789 GB, free: 3.223 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02202/2.062, allocations: 6.045 MB / 1.795 GB, free: 13.45 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01078/2.073, allocations: 6.502 MB / 1.802 GB, free: 7.18 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.0238/2.097, allocations: 11.19 MB / 1.812 GB, free: 12.18 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.04595/2.143, allocations: 31.07 MB / 1.843 GB, free: 14.2 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/2.143, allocations: 4 kB / 1.843 GB, free: 14.19 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.613e-06/2.143, allocations: 0 / 1.843 GB, free: 14.19 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0008599/2.144, allocations: 0 / 1.843 GB, free: 14.19 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.06403/2.208, allocations: 23.9 MB / 1.866 GB, free: 6.336 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/2.208, allocations: 12.03 kB / 1.866 GB, free: 6.324 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/2.226, allocations: 3.189 MB / 1.869 GB, free: 3.109 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04781/2.274, allocations: 20.84 MB / 1.89 GB, free: 14.56 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008718/2.275, allocations: 0.6664 MB / 1.89 GB, free: 13.9 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005002/2.28, allocations: 0.9411 MB / 1.891 GB, free: 12.97 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/2.321, allocations: 17.06 MB / 1.908 GB, free: 11.71 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/2.322, allocations: 15.88 kB / 1.908 GB, free: 11.69 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003444/2.325, allocations: 328.3 kB / 1.908 GB, free: 11.38 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004068/2.325, allocations: 375.3 kB / 1.909 GB, free: 11.01 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0436/2.369, allocations: 21.51 MB / 1.93 GB, free: 5.492 MB / 1.451 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.1406/2.51, allocations: 83.29 MB / 2.011 GB, free: 15.62 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02252/2.532, allocations: 13.03 MB / 2.024 GB, free: 2.824 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01611/2.548, allocations: 10.07 MB / 2.033 GB, free: 8.754 MB / 1.561 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.06584/2.614, allocations: 35.3 MB / 2.068 GB, free: 5.113 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01665/2.631, allocations: 10.16 MB / 2.078 GB, free: 10.88 MB / 1.607 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0201/2.651, allocations: 5.804 MB / 2.083 GB, free: 5.234 MB / 1.607 GB Notification: Performance of pre-optimization done (n=567): time 2.951e-05/2.651, allocations: 0 / 2.083 GB, free: 5.234 MB / 1.607 GB Notification: Performance of matching and sorting (n=776): time 1.951/4.602, allocations: 191.5 MB / 2.27 GB, free: 0.6832 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/4.602, allocations: 134.6 kB / 2.271 GB, free: 0.6831 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02536/4.628, allocations: 17.85 MB / 2.288 GB, free: 0.6701 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.003188/4.631, allocations: 225.4 kB / 2.288 GB, free: 0.6699 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.006661/4.638, allocations: 7.743 MB / 2.296 GB, free: 0.6637 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.004288/4.642, allocations: 2.378 MB / 2.298 GB, free: 0.6627 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005805/4.648, allocations: 3.338 MB / 2.301 GB, free: 0.6595 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 3.43e-05/4.648, allocations: 301.1 kB / 2.302 GB, free: 0.6593 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01785/4.666, allocations: 12.48 MB / 2.314 GB, free: 0.6471 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02048/4.686, allocations: 15.27 MB / 2.329 GB, free: 0.6312 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03918/4.725, allocations: 26.85 MB / 2.355 GB, free: 0.6041 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.245e-05/4.725, allocations: 20 kB / 2.355 GB, free: 0.6041 GB / 1.717 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.535/5.26, allocations: 118.4 MB / 2.471 GB, free: 0.4888 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/5.26, allocations: 53.7 kB / 2.471 GB, free: 0.4887 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.223e-05/5.261, allocations: 52 kB / 2.471 GB, free: 0.4887 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5461/5.807, allocations: 118.2 MB / 2.586 GB, free: 382.3 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01535/5.822, allocations: 3.155 MB / 2.589 GB, free: 379.2 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1292/5.951, allocations: 81.83 MB / 2.669 GB, free: 297 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01919/5.971, allocations: 1.199 MB / 2.67 GB, free: 295.8 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00388/5.974, allocations: 0.8583 MB / 2.671 GB, free: 294.9 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02612/6.001, allocations: 15.69 MB / 2.686 GB, free: 279.2 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02103/6.022, allocations: 14.76 MB / 2.701 GB, free: 263.4 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03962/6.061, allocations: 25.84 MB / 2.726 GB, free: 236.8 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-05/6.061, allocations: 15.94 kB / 2.726 GB, free: 236.8 MB / 1.717 GB Notification: Performance of matching and sorting (n=1526) (initialization_lambda0): time 0.5426/6.604, allocations: 116.8 MB / 2.84 GB, free: 119.8 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/6.604, allocations: 53.7 kB / 2.84 GB, free: 119.8 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.113e-05/6.604, allocations: 52 kB / 2.84 GB, free: 119.7 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779/8.384, allocations: 117.9 MB / 2.955 GB, free: 0.6745 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/8.398, allocations: 3.127 MB / 2.958 GB, free: 0.6745 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1409/8.539, allocations: 86.06 MB / 3.042 GB, free: 0.6406 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02132/8.561, allocations: 1.247 MB / 3.044 GB, free: 0.6394 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004278/8.565, allocations: 0.8347 MB / 3.045 GB, free: 0.6386 GB / 1.717 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 (1138): * Single equations (assignments): 1120 * Array equations: 4 * 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.00568/8.571, allocations: 0.7511 MB / 3.045 GB, free: 0.6379 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00658/8.577, allocations: 1.551 MB / 3.047 GB, free: 0.6372 GB / 1.717 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 948 equation(s) and 742 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/8.61, allocations: 13.81 MB / 3.06 GB, free: 0.6241 GB / 1.717 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Examples.FlowSystem.Simplified3 could not be translated