Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 387.1 MB / 399.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 168.9 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.783/1.783, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009929/0.0009929, allocations: 95.33 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.203e-05/6.249e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3028, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.31/6.612, allocations: 2.214 GB / 3.426 GB, free: 62.23 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/6.613, allocations: 106.1 kB / 3.426 GB, free: 62.18 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.162/9.775, allocations: 0.7784 GB / 4.205 GB, free: 159.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.395e-06/9.775, allocations: 0 / 4.205 GB, free: 159.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002983/9.775, allocations: 79.75 kB / 4.205 GB, free: 159.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.006752/9.782, allocations: 2.695 MB / 4.208 GB, free: 156.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/9.782, allocations: 8.031 kB / 4.208 GB, free: 156.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005007/9.782, allocations: 276.8 kB / 4.208 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/9.785, allocations: 0.555 MB / 4.208 GB, free: 155.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007685/9.793, allocations: 2.844 MB / 4.211 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/9.793, allocations: 151.9 kB / 4.211 GB, free: 152.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004795/9.794, allocations: 203.9 kB / 4.212 GB, free: 152.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/9.798, allocations: 2.057 MB / 4.214 GB, free: 150.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/9.798, allocations: 3.938 kB / 4.214 GB, free: 150.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/9.798, allocations: 84 kB / 4.214 GB, free: 150 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/9.798, allocations: 85.58 kB / 4.214 GB, free: 149.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/9.802, allocations: 1.916 MB / 4.216 GB, free: 148 MB / 1.151 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.01371/9.815, allocations: 8.478 MB / 4.224 GB, free: 139.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/9.817, allocations: 1.329 MB / 4.225 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/9.818, allocations: 0.6072 MB / 4.226 GB, free: 137.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005712/9.824, allocations: 3.566 MB / 4.229 GB, free: 133.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/9.825, allocations: 0.7593 MB / 4.23 GB, free: 132.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001079/9.826, allocations: 150.5 kB / 4.23 GB, free: 132.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=135): time 4.499e-06/9.826, allocations: 0 / 4.23 GB, free: 132.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=135): time 0.00265/9.829, allocations: 1.342 MB / 4.231 GB, free: 131.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/9.829, allocations: 252.6 kB / 4.232 GB, free: 131 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/9.832, allocations: 1.769 MB / 4.233 GB, free: 129.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/9.832, allocations: 53.7 kB / 4.233 GB, free: 129.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008491/9.833, allocations: 1.137 MB / 4.235 GB, free: 128 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/9.833, allocations: 469.3 kB / 4.235 GB, free: 127.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/9.833, allocations: 28 kB / 4.235 GB, free: 127.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001062/9.833, allocations: 361.9 kB / 4.235 GB, free: 127.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/9.834, allocations: 471.9 kB / 4.236 GB, free: 126.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/9.835, allocations: 0.9129 MB / 4.237 GB, free: 125.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/9.836, allocations: 0.6049 MB / 4.237 GB, free: 125 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/9.836, allocations: 4 kB / 4.237 GB, free: 124.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.00324/9.839, allocations: 1.686 MB / 4.239 GB, free: 123.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008125/9.84, allocations: 4.085 MB / 4.243 GB, free: 118.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/9.84, allocations: 11.98 kB / 4.243 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/9.84, allocations: 104 kB / 4.243 GB, free: 118.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/9.842, allocations: 379.4 kB / 4.243 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/9.844, allocations: 1.537 MB / 4.245 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/9.846, allocations: 151.8 kB / 4.245 GB, free: 116.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/9.846, allocations: 79.91 kB / 4.245 GB, free: 116.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/9.846, allocations: 8 kB / 4.245 GB, free: 116.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0027/9.849, allocations: 1.449 MB / 4.247 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/9.849, allocations: 8 kB / 4.247 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/9.85, allocations: 100.6 kB / 4.247 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/9.851, allocations: 379.4 kB / 4.247 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/9.853, allocations: 1.521 MB / 4.249 GB, free: 112.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/9.855, allocations: 159.7 kB / 4.249 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/9.855, allocations: 75.97 kB / 4.249 GB, free: 112.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005012/9.856, allocations: 209.2 kB / 4.249 GB, free: 112.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007847/9.857, allocations: 233.1 kB / 4.249 GB, free: 112.1 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 164 equation(s) and 163 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/9.859, allocations: 1.074 MB / 4.25 GB, free: 111 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.