Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001737/0.001737, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002137/0.002137, allocations: 209.2 kB / 23 MB, free: 4.934 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Buildings 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.002059/0.002059, allocations: 62.53 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.118/1.426, allocations: 329 MB / 1.648 GB, free: 58.91 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09401/1.52, allocations: 70.66 MB / 1.717 GB, free: 55.91 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01545/1.535, allocations: 0.5998 MB / 1.718 GB, free: 55.91 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02038/1.556, allocations: 6.374 MB / 1.724 GB, free: 54.68 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04195/1.598, allocations: 15.01 MB / 1.739 GB, free: 49.36 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.025/1.622, allocations: 10.5 MB / 1.749 GB, free: 44.07 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06807/1.691, allocations: 56.19 MB / 1.804 GB, free: 7.926 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02669/1.717, allocations: 15.46 MB / 1.819 GB, free: 9.082 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04613/1.763, allocations: 18.37 MB / 1.837 GB, free: 7.668 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03286/1.796, allocations: 16.14 MB / 1.853 GB, free: 8.586 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.009424/1.806, allocations: 1.754 MB / 1.855 GB, free: 6.832 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02167/1.827, allocations: 5.185 MB / 1.86 GB, free: 1.859 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01162/1.839, allocations: 6.104 MB / 1.866 GB, free: 11.98 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02236/1.861, allocations: 8.719 MB / 1.874 GB, free: 3.465 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05727/1.919, allocations: 29.48 MB / 1.903 GB, free: 7.121 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.919, allocations: 0 / 1.903 GB, free: 7.121 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.873e-06/1.919, allocations: 0 / 1.903 GB, free: 7.121 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0009873/1.92, allocations: 4 kB / 1.903 GB, free: 7.117 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.06472/1.984, allocations: 20.64 MB / 1.923 GB, free: 2.547 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.984, allocations: 8.031 kB / 1.923 GB, free: 2.539 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/2.004, allocations: 3.205 MB / 1.926 GB, free: 15.32 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05026/2.054, allocations: 19.29 MB / 1.945 GB, free: 12.3 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009265/2.055, allocations: 0.6399 MB / 1.946 GB, free: 11.66 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004922/2.06, allocations: 0.8779 MB / 1.947 GB, free: 10.79 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04798/2.108, allocations: 18.07 MB / 1.964 GB, free: 8.273 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003994/2.109, allocations: 19.83 kB / 1.964 GB, free: 8.254 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003821/2.112, allocations: 319.9 kB / 1.964 GB, free: 7.941 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002512/2.113, allocations: 208 kB / 1.965 GB, free: 7.738 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04657/2.159, allocations: 21.38 MB / 1.986 GB, free: 2.344 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.1497/2.309, allocations: 61.02 MB / 2.045 GB, free: 5.535 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/2.335, allocations: 12.31 MB / 2.057 GB, free: 9.512 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01851/2.354, allocations: 9.193 MB / 2.066 GB, free: 308 kB / 1.545 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.07544/2.429, allocations: 28.84 MB / 2.094 GB, free: 3.516 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02266/2.452, allocations: 11.44 MB / 2.105 GB, free: 7.82 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03123/2.483, allocations: 8.206 MB / 2.114 GB, free: 15.78 MB / 1.607 GB Notification: Performance of pre-optimization done (n=503): time 3.015e-05/2.483, allocations: 0 / 2.114 GB, free: 15.78 MB / 1.607 GB Notification: Performance of matching and sorting (n=680): time 1.639/4.123, allocations: 192 MB / 2.301 GB, free: 0.6586 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/4.123, allocations: 124.1 kB / 2.301 GB, free: 0.6585 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02972/4.152, allocations: 16.75 MB / 2.317 GB, free: 0.652 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003801/4.156, allocations: 197.1 kB / 2.318 GB, free: 0.6519 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.008715/4.165, allocations: 7.63 MB / 2.325 GB, free: 0.6468 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.004748/4.17, allocations: 2.158 MB / 2.327 GB, free: 0.6463 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01125/4.181, allocations: 3.141 MB / 2.33 GB, free: 0.6447 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/4.181, allocations: 301.1 kB / 2.331 GB, free: 0.6444 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02125/4.202, allocations: 12.57 MB / 2.343 GB, free: 0.6378 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02553/4.228, allocations: 17.47 MB / 2.36 GB, free: 0.6256 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04606/4.274, allocations: 26.55 MB / 2.386 GB, free: 0.6033 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.555e-05/4.274, allocations: 12 kB / 2.386 GB, free: 0.6033 GB / 1.748 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.6031/4.877, allocations: 117.8 MB / 2.501 GB, free: 0.4887 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/4.877, allocations: 57.69 kB / 2.501 GB, free: 0.4886 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.154e-05/4.877, allocations: 52 kB / 2.501 GB, free: 0.4886 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5864/5.464, allocations: 118.1 MB / 2.616 GB, free: 382.3 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01503/5.479, allocations: 2.761 MB / 2.619 GB, free: 379.6 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1544/5.633, allocations: 80.93 MB / 2.698 GB, free: 298.3 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02046/5.653, allocations: 1.321 MB / 2.699 GB, free: 297 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004258/5.658, allocations: 0.8423 MB / 2.7 GB, free: 296.1 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02956/5.687, allocations: 15.51 MB / 2.715 GB, free: 280.6 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0245/5.712, allocations: 16.95 MB / 2.732 GB, free: 262.1 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04411/5.756, allocations: 25.52 MB / 2.757 GB, free: 235.8 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.961e-05/5.756, allocations: 16 kB / 2.757 GB, free: 235.8 MB / 1.748 GB Notification: Performance of matching and sorting (n=1398) (initialization_lambda0): time 0.5777/6.334, allocations: 116.2 MB / 2.87 GB, free: 119.5 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/6.334, allocations: 53.7 kB / 2.87 GB, free: 119.4 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.904e-05/6.334, allocations: 55.98 kB / 2.87 GB, free: 119.3 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5821/6.916, allocations: 117.8 MB / 2.985 GB, free: 1.641 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6858/7.602, allocations: 2.742 MB / 2.988 GB, free: 0.6359 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1625/7.764, allocations: 84.13 MB / 3.07 GB, free: 0.6156 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01997/7.784, allocations: 1.355 MB / 3.072 GB, free: 0.6155 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00391/7.788, allocations: 0.8195 MB / 3.072 GB, free: 0.6154 GB / 1.748 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 (1010): * Single equations (assignments): 992 * 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.004414/7.793, allocations: 0.7078 MB / 3.073 GB, free: 0.6148 GB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005873/7.799, allocations: 1.543 MB / 3.075 GB, free: 0.6148 GB / 1.748 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 852 equation(s) and 678 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0321/7.831, allocations: 13.71 MB / 3.088 GB, free: 0.6083 GB / 1.748 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Examples.FlowSystem.Simplified3 could not be translated " [Timeout remaining time 292] [Calling sys.exit(0), Time elapsed: 14.096864086001005] Failed to read output from testmodel.py, exit status != 0: 7.839271867997013 7.850633274 5.929326424 Calling exit ...