Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 249.3 MB / 261.9 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 180.9 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008498/0.00085, allocations: 88.22 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.8e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2232, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.088/6.311, allocations: 2.557 GB / 3.449 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/6.311, allocations: 92.8 kB / 3.449 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 19.83/26.14, allocations: 5.01 GB / 8.459 GB, free: 59.04 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.793e-06/26.14, allocations: 0 / 8.459 GB, free: 59.04 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.002599/26.14, allocations: 331 kB / 8.459 GB, free: 58.99 MB / 1.104 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.04764/26.19, allocations: 11.62 MB / 8.471 GB, free: 53.93 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/26.19, allocations: 11.03 kB / 8.471 GB, free: 53.93 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/26.22, allocations: 3.391 MB / 8.474 GB, free: 53.16 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04867/26.26, allocations: 14.82 MB / 8.489 GB, free: 51.35 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/26.26, allocations: 0.7729 MB / 8.489 GB, free: 51.27 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004146/26.27, allocations: 0.9176 MB / 8.49 GB, free: 51.26 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03354/26.3, allocations: 11.13 MB / 8.501 GB, free: 50.18 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/26.3, allocations: 22.77 kB / 8.501 GB, free: 50.18 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/26.3, allocations: 369.4 kB / 8.502 GB, free: 50.18 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003462/26.31, allocations: 364.2 kB / 8.502 GB, free: 50.16 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/26.33, allocations: 9.798 MB / 8.511 GB, free: 50.07 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or 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.1162/26.44, allocations: 50.62 MB / 8.561 GB, free: 28.65 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/26.46, allocations: 8.734 MB / 8.569 GB, free: 27.02 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00845/26.47, allocations: 3.866 MB / 8.573 GB, free: 26.96 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or 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.04992/26.52, allocations: 18.63 MB / 8.591 GB, free: 21.88 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009074/26.53, allocations: 3.818 MB / 8.595 GB, free: 21.67 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01086/26.54, allocations: 1.904 MB / 8.597 GB, free: 21.39 MB / 1.104 GB Notification: Performance of pre-optimization done (n=596): time 3.78e-05/26.54, allocations: 0 / 8.597 GB, free: 21.39 MB / 1.104 GB Notification: Performance of matching and sorting (n=600): time 0.05568/26.6, allocations: 15.39 MB / 8.612 GB, free: 18.43 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/26.6, allocations: 378.3 kB / 8.612 GB, free: 18.05 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0284/26.63, allocations: 8.668 MB / 8.621 GB, free: 17.4 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002393/26.63, allocations: 179.2 kB / 8.621 GB, free: 17.37 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.008605/26.64, allocations: 5.619 MB / 8.626 GB, free: 15.79 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.003745/26.64, allocations: 2.051 MB / 8.628 GB, free: 14.48 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007793/26.64, allocations: 138.2 kB / 8.629 GB, free: 14.48 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0005649/26.64, allocations: 0.5733 MB / 8.629 GB, free: 14.17 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006592/26.65, allocations: 2.803 MB / 8.632 GB, free: 14.15 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/26.66, allocations: 5.074 MB / 8.637 GB, free: 11.75 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/26.68, allocations: 3.588 MB / 8.64 GB, free: 11.63 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/26.68, allocations: 15.81 kB / 8.64 GB, free: 11.63 MB / 1.104 GB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03755/26.71, allocations: 9.127 MB / 8.649 GB, free: 10.82 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.01432/26.73, allocations: 26.93 MB / 8.676 GB, free: 14.13 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003432/26.73, allocations: 44.81 kB / 8.676 GB, free: 14.13 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004207/26.73, allocations: 0.6499 MB / 8.676 GB, free: 14.09 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01392/26.75, allocations: 1.643 MB / 8.678 GB, free: 14.09 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/26.76, allocations: 8.277 MB / 8.686 GB, free: 7.477 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02313/26.78, allocations: 0.9976 MB / 8.687 GB, free: 7.406 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003114/26.79, allocations: 359.1 kB / 8.687 GB, free: 7.406 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/26.79, allocations: 3 kB / 8.687 GB, free: 7.406 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03368/26.82, allocations: 8.08 MB / 8.695 GB, free: 7.168 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/26.82, allocations: 46.25 kB / 8.695 GB, free: 7.168 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004325/26.82, allocations: 0.6362 MB / 8.696 GB, free: 7.121 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01345/26.84, allocations: 1.615 MB / 8.697 GB, free: 7.121 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/26.85, allocations: 9.671 MB / 8.707 GB, free: 15.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01969/26.87, allocations: 0.966 MB / 8.708 GB, free: 15.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002443/26.88, allocations: 345 kB / 8.708 GB, free: 15.41 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 206 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (858): * Single equations (assignments): 846 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,3 9,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003441/26.88, allocations: 0.5529 MB / 8.709 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004846/26.88, allocations: 1.049 MB / 8.71 GB, free: 14.72 MB / 1.151 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 690 equation(s) and 688 variable(s). Error: Internal error $cse15 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size size 2 but 1 variables ($cse20) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/26.9, allocations: 4.882 MB / 8.714 GB, free: 14.43 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.