Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.179/2.179, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001369/0.001369, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008707/0.0008707, allocations: 88.02 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.489e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2705, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.536, allocations: 479.3 MB / 1.687 GB, free: 3.035 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/1.536, allocations: 108.5 kB / 1.687 GB, free: 2.93 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 2.404/3.94, allocations: 489 MB / 2.164 GB, free: 244.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.783e-06/3.94, allocations: 1.188 kB / 2.164 GB, free: 244.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002181/3.94, allocations: 37.48 kB / 2.165 GB, free: 244.8 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.005475/3.946, allocations: 1.833 MB / 2.166 GB, free: 244.3 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/3.946, allocations: 8.719 kB / 2.166 GB, free: 244.3 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003838/3.946, allocations: 123.9 kB / 2.166 GB, free: 244.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/3.949, allocations: 375 kB / 2.167 GB, free: 244.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/3.953, allocations: 1.328 MB / 2.168 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/3.953, allocations: 133.8 kB / 2.168 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/3.953, allocations: 84.59 kB / 2.168 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/3.955, allocations: 1.085 MB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/3.955, allocations: 3.625 kB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/3.956, allocations: 36.03 kB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/3.956, allocations: 23.02 kB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/3.957, allocations: 1.016 MB / 2.17 GB, free: 243.7 MB / 1.135 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.007738/3.965, allocations: 4.924 MB / 2.175 GB, free: 242 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/3.966, allocations: 0.7515 MB / 2.176 GB, free: 241.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007448/3.967, allocations: 0.5007 MB / 2.176 GB, free: 241.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004449/3.968, allocations: 0.5837 MB / 2.177 GB, free: 241.3 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009353/3.969, allocations: 0.6215 MB / 2.178 GB, free: 241.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.955e-06/3.969, allocations: 3.781 kB / 2.178 GB, free: 241.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.002047/3.971, allocations: 0.997 MB / 2.179 GB, free: 241.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/3.971, allocations: 113.7 kB / 2.179 GB, free: 241 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/3.973, allocations: 1.013 MB / 2.18 GB, free: 240.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/3.973, allocations: 44.17 kB / 2.18 GB, free: 240.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/3.974, allocations: 0.5629 MB / 2.18 GB, free: 240.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/3.974, allocations: 180.5 kB / 2.18 GB, free: 240.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/3.974, allocations: 15.78 kB / 2.18 GB, free: 240.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/3.974, allocations: 331.2 kB / 2.181 GB, free: 240.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/3.975, allocations: 425.9 kB / 2.181 GB, free: 240.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/3.975, allocations: 0.5915 MB / 2.182 GB, free: 240 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/3.976, allocations: 400.8 kB / 2.182 GB, free: 240 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/3.976, allocations: 4.406 kB / 2.182 GB, free: 240 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002026/3.978, allocations: 1.074 MB / 2.183 GB, free: 239.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002834/3.978, allocations: 1.238 MB / 2.184 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/3.978, allocations: 7.5 kB / 2.184 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/3.978, allocations: 8.391 kB / 2.184 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/3.979, allocations: 165.1 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/3.979, allocations: 7.344 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/3.981, allocations: 130.1 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/3.981, allocations: 54.75 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/3.981, allocations: 3.406 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001715/3.982, allocations: 0.9428 MB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/3.982, allocations: 5.719 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/3.983, allocations: 6.844 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/3.983, allocations: 169.6 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/3.983, allocations: 5.719 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/3.985, allocations: 128.9 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/3.985, allocations: 54.23 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$PRE.dat.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$PRE.iceTan.tanHeaTra.SOCCalc.charged,iceTan.tanHeaTra.SOCCalc.charged,$PRE.iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.suspend,$PRE.iceTan.tanHeaTra.canFreeze.lesHys.y,iceTan.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTan.tanHeaTra.canMelt.greHys.y,iceTan.tanHeaTra.canMelt.greHys.y,dat.nextTimeEvent,$PRE.dat.nextTimeEventScaled,dat.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002956/3.985, allocations: 152.8 kB / 2.186 GB, free: 238.5 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/3.986, allocations: 117.7 kB / 2.186 GB, free: 238.4 MB / 1.135 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 61 equation(s) and 60 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/3.987, allocations: 0.6095 MB / 2.187 GB, free: 238.4 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.