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 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.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.001662/0.001663, allocations: 110.8 kB / 16.42 MB, free: 6.527 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.001993/0.001993, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.32/1.32, allocations: 222.9 MB / 241.1 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.602/2.602, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 1.07 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6688, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9634/1.632, allocations: 357.8 MB / 1.576 GB, free: 61.71 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.08811/1.72, allocations: 75.87 MB / 1.65 GB, free: 60.66 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02313/1.744, allocations: 435.8 kB / 1.65 GB, free: 60.66 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01826/1.762, allocations: 6.558 MB / 1.657 GB, free: 60.54 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03968/1.802, allocations: 14.75 MB / 1.671 GB, free: 59.96 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02437/1.826, allocations: 10.2 MB / 1.681 GB, free: 58.21 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09127/1.917, allocations: 74.25 MB / 1.754 GB, free: 11.05 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03088/1.948, allocations: 20.05 MB / 1.773 GB, free: 7.586 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0435/1.992, allocations: 17.42 MB / 1.79 GB, free: 7.113 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0367/2.028, allocations: 16.39 MB / 1.806 GB, free: 7.887 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.01046/2.039, allocations: 1.957 MB / 1.808 GB, free: 5.93 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02337/2.062, allocations: 6.048 MB / 1.814 GB, free: 156 kB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01178/2.074, allocations: 6.501 MB / 1.82 GB, free: 9.879 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02474/2.099, allocations: 11.19 MB / 1.831 GB, free: 14.88 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05241/2.151, allocations: 31.18 MB / 1.862 GB, free: 0.7812 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/2.151, allocations: 4 kB / 1.862 GB, free: 0.7773 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.673e-06/2.151, allocations: 0 / 1.862 GB, free: 0.7773 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0009399/2.152, allocations: 0 / 1.862 GB, free: 0.7773 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.06911/2.221, allocations: 24.54 MB / 1.886 GB, free: 8.359 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/2.222, allocations: 8.031 kB / 1.886 GB, free: 8.352 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/2.24, allocations: 3.29 MB / 1.889 GB, free: 5.047 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0497/2.29, allocations: 21 MB / 1.909 GB, free: 368 kB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008063/2.291, allocations: 0.6716 MB / 1.91 GB, free: 15.69 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004796/2.295, allocations: 0.9351 MB / 1.911 GB, free: 14.77 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04131/2.337, allocations: 17.07 MB / 1.928 GB, free: 13.5 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003343/2.337, allocations: 11.92 kB / 1.928 GB, free: 13.49 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003342/2.34, allocations: 330.6 kB / 1.928 GB, free: 13.17 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004129/2.341, allocations: 371.3 kB / 1.928 GB, free: 12.81 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0418/2.383, allocations: 21.5 MB / 1.949 GB, free: 7.293 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.1504/2.533, allocations: 83.38 MB / 2.031 GB, free: 1.152 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0334/2.567, allocations: 13.03 MB / 2.044 GB, free: 4.363 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01685/2.583, allocations: 10.08 MB / 2.053 GB, free: 10.28 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.09228/2.676, allocations: 35.32 MB / 2.088 GB, free: 6.594 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02943/2.705, allocations: 10.16 MB / 2.098 GB, free: 12.37 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03093/2.736, allocations: 5.827 MB / 2.103 GB, free: 6.703 MB / 1.623 GB Notification: Performance of pre-optimization done (n=567): time 4.15e-05/2.736, allocations: 0 / 2.103 GB, free: 6.703 MB / 1.623 GB Notification: Performance of matching and sorting (n=776): time 2.168/4.904, allocations: 191.8 MB / 2.291 GB, free: 0.6589 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/4.904, allocations: 137.5 kB / 2.291 GB, free: 0.6588 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03239/4.936, allocations: 17.86 MB / 2.308 GB, free: 0.6416 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.003527/4.94, allocations: 221.7 kB / 2.309 GB, free: 0.6414 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.007935/4.948, allocations: 7.84 MB / 2.316 GB, free: 0.6353 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.005696/4.954, allocations: 2.49 MB / 2.319 GB, free: 0.6343 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01117/4.965, allocations: 3.342 MB / 2.322 GB, free: 0.6311 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/4.965, allocations: 305.1 kB / 2.322 GB, free: 0.6308 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02083/4.986, allocations: 12.48 MB / 2.334 GB, free: 0.6186 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02275/5.009, allocations: 15.28 MB / 2.349 GB, free: 0.6027 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04279/5.051, allocations: 26.84 MB / 2.375 GB, free: 0.5757 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.057e-05/5.052, allocations: 20 kB / 2.376 GB, free: 0.5757 GB / 1.717 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.5519/5.603, allocations: 118.5 MB / 2.491 GB, free: 471.5 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/5.603, allocations: 57.69 kB / 2.491 GB, free: 471.5 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-05/5.604, allocations: 52 kB / 2.491 GB, free: 471.4 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5617/6.165, allocations: 118.2 MB / 2.607 GB, free: 353.6 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/6.181, allocations: 3.148 MB / 2.61 GB, free: 350.4 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1359/6.317, allocations: 81.84 MB / 2.69 GB, free: 268.3 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02041/6.337, allocations: 1.203 MB / 2.691 GB, free: 267.1 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004028/6.341, allocations: 0.8583 MB / 2.692 GB, free: 266.2 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02733/6.369, allocations: 15.69 MB / 2.707 GB, free: 250.5 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02199/6.391, allocations: 14.76 MB / 2.721 GB, free: 234.7 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0417/6.433, allocations: 25.84 MB / 2.747 GB, free: 208.1 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.445e-05/6.433, allocations: 12 kB / 2.747 GB, free: 208.1 MB / 1.717 GB Notification: Performance of matching and sorting (n=1526) (initialization_lambda0): time 0.5563/6.989, allocations: 116.9 MB / 2.861 GB, free: 91.2 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 9.414e-05/6.989, allocations: 57.55 kB / 2.861 GB, free: 91.14 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-05/6.989, allocations: 52 kB / 2.861 GB, free: 91.09 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813/8.803, allocations: 117.9 MB / 2.976 GB, free: 0.6594 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01459/8.817, allocations: 3.128 MB / 2.979 GB, free: 0.6594 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1506/8.968, allocations: 86.09 MB / 3.063 GB, free: 0.5993 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02162/8.99, allocations: 1.257 MB / 3.064 GB, free: 0.5981 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004748/8.994, allocations: 0.8232 MB / 3.065 GB, free: 0.5973 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.007658/9.002, allocations: 0.7556 MB / 3.066 GB, free: 0.5966 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008196/9.01, allocations: 1.638 MB / 3.068 GB, free: 0.5959 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.0388/9.049, allocations: 13.81 MB / 3.081 GB, free: 0.5825 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