Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json 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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 248.5 MB / 261 MB, free: 6.047 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.001401/0.001401, allocations: 186.1 kB / 320.4 MB, free: 15.35 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.993/1.993, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001121/0.001121, allocations: 95.47 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.542e-05, allocations: 0 / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 106.3 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.75/8.968, allocations: 2.557 GB / 3.447 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/8.968, allocations: 89.48 kB / 3.448 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 29.5/38.47, allocations: 5.011 GB / 8.459 GB, free: 59.91 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.755e-06/38.47, allocations: 5.375 kB / 8.459 GB, free: 59.91 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.003411/38.47, allocations: 330.4 kB / 8.459 GB, free: 59.86 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.0534/38.52, allocations: 11.62 MB / 8.47 GB, free: 54.8 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/38.52, allocations: 10.47 kB / 8.47 GB, free: 54.8 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006258/38.53, allocations: 1.15 MB / 8.472 GB, free: 54.71 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03652/38.57, allocations: 3.394 MB / 8.475 GB, free: 53.94 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06518/38.63, allocations: 14.82 MB / 8.489 GB, free: 52.12 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001524/38.63, allocations: 0.7747 MB / 8.49 GB, free: 52.04 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005366/38.64, allocations: 0.9392 MB / 8.491 GB, free: 52.02 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04508/38.68, allocations: 11.11 MB / 8.502 GB, free: 50.95 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007825/38.68, allocations: 17.78 kB / 8.502 GB, free: 50.94 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004574/38.69, allocations: 370.7 kB / 8.502 GB, free: 50.94 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005628/38.69, allocations: 368.3 kB / 8.503 GB, free: 50.92 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03874/38.73, allocations: 9.797 MB / 8.512 GB, free: 50.84 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.1323/38.86, allocations: 50.53 MB / 8.561 GB, free: 29.41 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02642/38.89, allocations: 8.739 MB / 8.57 GB, free: 27.73 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01154/38.9, allocations: 3.889 MB / 8.574 GB, free: 27.66 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.06508/38.96, allocations: 18.53 MB / 8.592 GB, free: 22.56 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01485/38.98, allocations: 3.82 MB / 8.596 GB, free: 22.35 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01468/38.99, allocations: 1.9 MB / 8.597 GB, free: 22.07 MB / 1.104 GB Notification: Performance of pre-optimization done (n=596): time 4.373e-05/38.99, allocations: 0 / 8.597 GB, free: 22.07 MB / 1.104 GB Notification: Performance of matching and sorting (n=645): time 0.08509/39.08, allocations: 18.77 MB / 8.616 GB, free: 19.02 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/39.08, allocations: 384 kB / 8.616 GB, free: 18.64 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02835/39.11, allocations: 8.673 MB / 8.625 GB, free: 17.99 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002346/39.11, allocations: 180.8 kB / 8.625 GB, free: 17.96 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01012/39.12, allocations: 5.642 MB / 8.63 GB, free: 16.36 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004795/39.12, allocations: 2.195 MB / 8.632 GB, free: 14.95 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/39.13, allocations: 149.2 kB / 8.633 GB, free: 14.95 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0009238/39.13, allocations: 0.5896 MB / 8.633 GB, free: 14.63 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/39.14, allocations: 3.049 MB / 8.636 GB, free: 14.62 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/39.15, allocations: 5.336 MB / 8.641 GB, free: 12.21 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01296/39.16, allocations: 3.885 MB / 8.645 GB, free: 12.09 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.104e-05/39.16, allocations: 13.19 kB / 8.645 GB, free: 12.09 MB / 1.104 GB Notification: Performance of matching and sorting (n=944) (initialization): time 0.04326/39.21, allocations: 11.07 MB / 8.656 GB, free: 11.26 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.009268/39.22, allocations: 26.95 MB / 8.682 GB, free: 14.46 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/39.22, allocations: 46.19 kB / 8.682 GB, free: 14.46 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02518/39.24, allocations: 4.689 MB / 8.687 GB, free: 14.31 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01106/39.25, allocations: 1.289 MB / 8.688 GB, free: 14.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03029/39.28, allocations: 13.62 MB / 8.701 GB, free: 9.375 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02051/39.31, allocations: 1.021 MB / 8.702 GB, free: 9.242 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/39.31, allocations: 364.7 kB / 8.703 GB, free: 9.242 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/39.31, allocations: 3.719 kB / 8.703 GB, free: 9.242 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03358/39.34, allocations: 9.887 MB / 8.712 GB, free: 8.801 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/39.34, allocations: 47.16 kB / 8.713 GB, free: 8.801 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02415/39.37, allocations: 4.717 MB / 8.717 GB, free: 8.641 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/39.38, allocations: 1.263 MB / 8.718 GB, free: 8.551 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0345/39.41, allocations: 15.58 MB / 8.734 GB, free: 1.059 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02014/39.43, allocations: 0.9846 MB / 8.735 GB, free: 0.8203 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002401/39.43, allocations: 357.6 kB / 8.735 GB, free: 0.7617 MB / 1.135 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 (729): * Single equations (assignments): 719 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.003884/39.44, allocations: 0.554 MB / 8.735 GB, free: 320 kB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004557/39.44, allocations: 1.064 MB / 8.736 GB, free: 15.75 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 735 equation(s) and 733 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.0206/39.46, allocations: 5.211 MB / 8.742 GB, free: 13.67 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.