Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.841/3.841, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002711/0.00271, allocations: 172.8 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.01/4.01, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001733/0.001733, allocations: 101 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008086/0.0008091, allocations: 10.3 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3558, allocations: 106.2 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.79/13.14, allocations: 2.557 GB / 3.456 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005059/13.14, allocations: 96.58 kB / 3.456 GB, free: 215.6 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.X[2] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.X[2] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.X[2] to false. Notification: Performance of FrontEnd - DAE generated: time 42.48/55.63, allocations: 4.96 GB / 8.416 GB, free: 57.11 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.647e-06/55.63, allocations: 0 / 8.416 GB, free: 57.11 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.004858/55.63, allocations: 328 kB / 8.417 GB, free: 57.06 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.1264/55.76, allocations: 14.49 MB / 8.431 GB, free: 50.79 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/55.76, allocations: 10.38 kB / 8.431 GB, free: 50.79 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05401/55.81, allocations: 3.326 MB / 8.434 GB, free: 49.95 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08969/55.9, allocations: 14.3 MB / 8.448 GB, free: 47.77 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00215/55.9, allocations: 0.7789 MB / 8.449 GB, free: 47.68 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007316/55.91, allocations: 0.9301 MB / 8.45 GB, free: 47.66 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07011/55.98, allocations: 11.61 MB / 8.461 GB, free: 46.5 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009466/55.98, allocations: 18.38 kB / 8.461 GB, free: 46.49 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006099/55.99, allocations: 369.2 kB / 8.461 GB, free: 46.49 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008197/55.99, allocations: 360.9 kB / 8.462 GB, free: 46.47 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06271/56.05, allocations: 10.56 MB / 8.472 GB, free: 46.29 MB / 1.089 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.1919/56.24, allocations: 50.39 MB / 8.521 GB, free: 24.07 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04639/56.29, allocations: 9.388 MB / 8.53 GB, free: 21.79 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02174/56.31, allocations: 4.199 MB / 8.534 GB, free: 20.23 MB / 1.089 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.093/56.41, allocations: 18.39 MB / 8.552 GB, free: 9.34 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02284/56.43, allocations: 4.139 MB / 8.556 GB, free: 7.855 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02087/56.45, allocations: 1.879 MB / 8.558 GB, free: 7.336 MB / 1.089 GB Notification: Performance of pre-optimization done (n=596): time 4.195e-05/56.45, allocations: 2.719 kB / 8.558 GB, free: 7.336 MB / 1.089 GB Notification: Performance of matching and sorting (n=645): time 0.1753/56.63, allocations: 23.81 MB / 8.581 GB, free: 2.547 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003904/56.63, allocations: 385.3 kB / 8.582 GB, free: 2.098 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05022/56.68, allocations: 9.793 MB / 8.591 GB, free: 10.17 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003632/56.68, allocations: 184.9 kB / 8.592 GB, free: 9.984 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01685/56.7, allocations: 5.623 MB / 8.597 GB, free: 4.855 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.007401/56.7, allocations: 2.195 MB / 8.599 GB, free: 2.816 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00314/56.71, allocations: 144 kB / 8.599 GB, free: 2.676 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001521/56.71, allocations: 0.5966 MB / 8.6 GB, free: 2.164 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896/58.61, allocations: 3.433 MB / 8.603 GB, free: 90.36 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02597/58.63, allocations: 5.766 MB / 8.609 GB, free: 87.95 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02775/58.66, allocations: 4.254 MB / 8.613 GB, free: 87.85 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002394/58.66, allocations: 13.66 kB / 8.613 GB, free: 87.85 MB / 1.12 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.08149/58.74, allocations: 11.9 MB / 8.625 GB, free: 87.6 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.002217/58.74, allocations: 1.508 MB / 8.626 GB, free: 85.8 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004695/58.74, allocations: 46.31 kB / 8.626 GB, free: 85.8 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04448/58.79, allocations: 5.021 MB / 8.631 GB, free: 85.72 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01672/58.81, allocations: 1.3 MB / 8.632 GB, free: 85.72 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06041/58.87, allocations: 13.89 MB / 8.646 GB, free: 80.99 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03236/58.9, allocations: 1.03 MB / 8.647 GB, free: 80.99 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00412/58.9, allocations: 371.9 kB / 8.647 GB, free: 80.99 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/58.9, allocations: 2.969 kB / 8.647 GB, free: 80.99 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07238/58.97, allocations: 10.74 MB / 8.658 GB, free: 80.76 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004446/58.98, allocations: 43.59 kB / 8.658 GB, free: 80.76 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04267/59.02, allocations: 4.921 MB / 8.663 GB, free: 80.67 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/59.04, allocations: 1.275 MB / 8.664 GB, free: 80.67 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06442/59.1, allocations: 15.85 MB / 8.679 GB, free: 74.35 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03074/59.13, allocations: 0.9966 MB / 8.68 GB, free: 74.35 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004247/59.13, allocations: 365.6 kB / 8.681 GB, free: 74.35 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.conPID.I.trigger_internal,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (737): * Single equations (assignments): 724 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {19 158,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0219/59.16, allocations: 3.387 MB / 8.684 GB, free: 74.16 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0086/59.17, allocations: 1.073 MB / 8.685 GB, free: 74.16 MB / 1.12 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 736 equation(s) and 734 variable(s). Error: $cse16 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size 2 but 1 variables ($cse21) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04042/59.21, allocations: 5.502 MB / 8.69 GB, free: 73.95 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.