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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001486/0.001486, allocations: 114.4 kB / 16.42 MB, free: 6.457 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.001709/0.001709, allocations: 183.9 kB / 17.35 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 294.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9137/0.9137, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 95.86 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3818, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6506/1.032, allocations: 357.7 MB / 1.116 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.101/1.133, allocations: 75.87 MB / 1.191 GB, free: 56 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0132/1.147, allocations: 433.5 kB / 1.191 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01662/1.163, allocations: 6.554 MB / 1.197 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03637/1.2, allocations: 14.76 MB / 1.212 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02245/1.222, allocations: 10.2 MB / 1.222 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09301/1.315, allocations: 74.28 MB / 1.294 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02626/1.341, allocations: 20.01 MB / 1.314 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8253/2.167, allocations: 17.42 MB / 1.331 GB, free: 65.84 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02753/2.194, allocations: 16.37 MB / 1.347 GB, free: 63.84 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.008705/2.203, allocations: 1.954 MB / 1.349 GB, free: 63.84 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02003/2.223, allocations: 6.052 MB / 1.355 GB, free: 63.84 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01083/2.234, allocations: 6.493 MB / 1.361 GB, free: 63.11 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02319/2.257, allocations: 11.2 MB / 1.372 GB, free: 60.2 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.04157/2.299, allocations: 31.09 MB / 1.402 GB, free: 56.88 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/2.299, allocations: 3.938 kB / 1.402 GB, free: 56.88 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.373e-06/2.299, allocations: 0 / 1.402 GB, free: 56.88 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001002/2.3, allocations: 0 / 1.402 GB, free: 56.88 MB / 0.9357 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.07132/2.371, allocations: 23.9 MB / 1.426 GB, free: 48.33 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/2.371, allocations: 7.375 kB / 1.426 GB, free: 48.33 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/2.389, allocations: 3.192 MB / 1.429 GB, free: 47.28 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04057/2.43, allocations: 20.84 MB / 1.449 GB, free: 42.23 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005894/2.43, allocations: 0.6714 MB / 1.45 GB, free: 42.21 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004759/2.435, allocations: 0.9333 MB / 1.451 GB, free: 42.2 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03472/2.47, allocations: 17.07 MB / 1.467 GB, free: 32.39 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003799/2.47, allocations: 14.27 kB / 1.467 GB, free: 32.39 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003246/2.474, allocations: 333.3 kB / 1.468 GB, free: 32.32 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/2.474, allocations: 370.3 kB / 1.468 GB, free: 31.97 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03287/2.507, allocations: 21.5 MB / 1.489 GB, free: 17.14 MB / 0.9357 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.1453/2.652, allocations: 83.3 MB / 1.57 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02352/2.676, allocations: 13.02 MB / 1.583 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01688/2.693, allocations: 10.08 MB / 1.593 GB, free: 5.258 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.07915/2.772, allocations: 35.31 MB / 1.627 GB, free: 1.566 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01891/2.791, allocations: 10.14 MB / 1.637 GB, free: 7.359 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02259/2.813, allocations: 5.808 MB / 1.643 GB, free: 1.707 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 3.538e-05/2.813, allocations: 0 / 1.643 GB, free: 1.707 MB / 1.076 GB Notification: Performance of matching and sorting (n=776): time 1.282/4.095, allocations: 191.5 MB / 1.83 GB, free: 0.4929 GB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/4.095, allocations: 129.5 kB / 1.83 GB, free: 0.4928 GB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02973/4.125, allocations: 17.85 MB / 1.848 GB, free: 486.9 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003561/4.129, allocations: 224.4 kB / 1.848 GB, free: 486.7 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.006535/4.135, allocations: 7.74 MB / 1.855 GB, free: 479.4 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.004304/4.14, allocations: 2.377 MB / 1.858 GB, free: 477.1 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006893/4.146, allocations: 3.333 MB / 1.861 GB, free: 473.7 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 3.707e-05/4.147, allocations: 308.7 kB / 1.861 GB, free: 473.4 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01759/4.164, allocations: 12.49 MB / 1.873 GB, free: 460.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01983/4.184, allocations: 15.27 MB / 1.888 GB, free: 444.6 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03823/4.222, allocations: 26.86 MB / 1.915 GB, free: 417 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/4.222, allocations: 15.94 kB / 1.915 GB, free: 417 MB / 1.154 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.5933/4.816, allocations: 118.4 MB / 2.03 GB, free: 298.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 9.713e-05/4.816, allocations: 58.64 kB / 2.03 GB, free: 298.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.203e-05/4.816, allocations: 52 kB / 2.03 GB, free: 298.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6069/5.423, allocations: 118.2 MB / 2.146 GB, free: 180.3 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01648/5.439, allocations: 3.155 MB / 2.149 GB, free: 177.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1353/5.575, allocations: 81.82 MB / 2.229 GB, free: 94.96 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02041/5.595, allocations: 1.199 MB / 2.23 GB, free: 93.76 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002091/5.597, allocations: 0.8644 MB / 2.231 GB, free: 92.89 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0233/5.62, allocations: 15.68 MB / 2.246 GB, free: 77.2 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01826/5.639, allocations: 14.76 MB / 2.26 GB, free: 61.43 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03784/5.677, allocations: 25.85 MB / 2.286 GB, free: 34.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.661e-05/5.677, allocations: 16 kB / 2.286 GB, free: 34.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=1526) (initialization_lambda0): time 0.9352/6.612, allocations: 116.8 MB / 2.4 GB, free: 498.2 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/6.612, allocations: 53.7 kB / 2.4 GB, free: 498.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.662e-05/6.612, allocations: 52 kB / 2.4 GB, free: 498.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6067/7.219, allocations: 117.9 MB / 2.515 GB, free: 380.6 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01437/7.233, allocations: 3.134 MB / 2.518 GB, free: 377.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1407/7.374, allocations: 86.06 MB / 2.602 GB, free: 291.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0201/7.394, allocations: 1.247 MB / 2.603 GB, free: 290.1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/7.397, allocations: 0.8329 MB / 2.604 GB, free: 289.3 MB / 1.154 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.003324/7.4, allocations: 0.7517 MB / 2.605 GB, free: 288.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004837/7.405, allocations: 1.552 MB / 2.606 GB, free: 287.5 MB / 1.154 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.0268/7.432, allocations: 13.81 MB / 2.62 GB, free: 273.8 MB / 1.154 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.Examples.FlowSystem.Simplified3 could not be translated