Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001243/0.001243, allocations: 113.2 kB / 17.09 MB, free: 5.984 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.001255/0.001255, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.247/1.247, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6613/0.6613, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 71.47 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 76.17 MB / 0.6328 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.5766/0.6894, allocations: 357.7 MB / 0.9821 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4532/1.143, allocations: 75.85 MB / 1.056 GB, free: 28.91 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01246/1.155, allocations: 433.5 kB / 1.057 GB, free: 28.91 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01596/1.171, allocations: 6.426 MB / 1.063 GB, free: 28.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03364/1.205, allocations: 14.09 MB / 1.077 GB, free: 28.71 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02077/1.226, allocations: 10.19 MB / 1.087 GB, free: 28.42 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.08244/1.308, allocations: 74.18 MB / 1.159 GB, free: 18.88 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02301/1.331, allocations: 20.01 MB / 1.179 GB, free: 4.602 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03207/1.363, allocations: 17.42 MB / 1.196 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02844/1.392, allocations: 16.38 MB / 1.212 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.007866/1.4, allocations: 1.961 MB / 1.214 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02072/1.42, allocations: 6.04 MB / 1.219 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01048/1.431, allocations: 6.498 MB / 1.226 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02221/1.453, allocations: 11.19 MB / 1.237 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04515/1.498, allocations: 31.08 MB / 1.267 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.498, allocations: 0 / 1.267 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.623e-06/1.498, allocations: 0 / 1.267 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0007861/1.499, allocations: 4 kB / 1.267 GB, free: 2.648 MB / 0.8731 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.0616/1.561, allocations: 23.91 MB / 1.29 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.561, allocations: 8.031 kB / 1.29 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/1.577, allocations: 3.193 MB / 1.294 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04445/1.622, allocations: 20.83 MB / 1.314 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007602/1.623, allocations: 0.6745 MB / 1.315 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004452/1.627, allocations: 0.9366 MB / 1.315 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0383/1.666, allocations: 17.06 MB / 1.332 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/1.666, allocations: 7.938 kB / 1.332 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002895/1.669, allocations: 328.7 kB / 1.332 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000379/1.669, allocations: 375.2 kB / 1.333 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03767/1.707, allocations: 21.5 MB / 1.354 GB, free: 9.953 MB / 0.9669 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.8666/2.574, allocations: 83.29 MB / 1.435 GB, free: 193.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01917/2.593, allocations: 13.01 MB / 1.448 GB, free: 193.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01356/2.606, allocations: 10.09 MB / 1.458 GB, free: 193.2 MB / 1.014 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.06219/2.669, allocations: 35.3 MB / 1.492 GB, free: 185.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01579/2.684, allocations: 10.14 MB / 1.502 GB, free: 185.2 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01921/2.704, allocations: 5.815 MB / 1.508 GB, free: 185.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=567): time 3.269e-05/2.704, allocations: 0 / 1.508 GB, free: 185.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=776): time 0.8505/3.554, allocations: 191.5 MB / 1.695 GB, free: 24.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/3.554, allocations: 133.5 kB / 1.695 GB, free: 24.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03429/3.589, allocations: 17.85 MB / 1.712 GB, free: 6.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.003504/3.592, allocations: 221.7 kB / 1.713 GB, free: 6.457 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.008264/3.601, allocations: 7.746 MB / 1.72 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00543/3.606, allocations: 2.379 MB / 1.722 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01207/3.618, allocations: 3.337 MB / 1.726 GB, free: 9.078 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/3.618, allocations: 305.1 kB / 1.726 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02306/3.641, allocations: 12.48 MB / 1.738 GB, free: 12.28 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02619/3.668, allocations: 15.27 MB / 1.753 GB, free: 12.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6457/4.313, allocations: 26.85 MB / 1.779 GB, free: 0.5075 GB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.758e-05/4.313, allocations: 19.22 kB / 1.779 GB, free: 0.5075 GB / 1.076 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.5935/4.907, allocations: 118.4 MB / 1.895 GB, free: 469.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-05/4.907, allocations: 57.7 kB / 1.895 GB, free: 469.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.508e-05/4.907, allocations: 52 kB / 1.895 GB, free: 469.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.596/5.503, allocations: 118.2 MB / 2.01 GB, free: 351.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0238/5.527, allocations: 3.144 MB / 2.013 GB, free: 348.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1285/5.655, allocations: 81.83 MB / 2.093 GB, free: 266.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01832/5.674, allocations: 1.212 MB / 2.095 GB, free: 265.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/5.676, allocations: 0.8544 MB / 2.095 GB, free: 264.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02116/5.697, allocations: 15.68 MB / 2.111 GB, free: 248.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01711/5.714, allocations: 14.76 MB / 2.125 GB, free: 232.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03458/5.749, allocations: 25.85 MB / 2.15 GB, free: 206.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.317e-05/5.749, allocations: 16 kB / 2.15 GB, free: 206.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=1526) (initialization_lambda0): time 0.5654/6.314, allocations: 116.8 MB / 2.264 GB, free: 90.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/6.314, allocations: 57.69 kB / 2.264 GB, free: 89.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.762e-05/6.314, allocations: 52 kB / 2.265 GB, free: 89.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.88/7.194, allocations: 117.9 MB / 2.38 GB, free: 499.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/7.208, allocations: 3.129 MB / 2.383 GB, free: 499.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1413/7.349, allocations: 86.07 MB / 2.467 GB, free: 456.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01981/7.369, allocations: 1.255 MB / 2.468 GB, free: 455.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003541/7.373, allocations: 0.8271 MB / 2.469 GB, free: 454.3 MB / 1.076 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.003619/7.376, allocations: 0.7552 MB / 2.47 GB, free: 453.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005178/7.382, allocations: 1.555 MB / 2.471 GB, free: 452.9 MB / 1.076 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.02873/7.41, allocations: 13.8 MB / 2.485 GB, free: 439.2 MB / 1.076 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.Examples.FlowSystem.Simplified3 could not be translated