Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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: translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, 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.001153/0.001153, allocations: 175.7 kB / 492.3 MB, free: 0.6328 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.57/1.57, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001113/0.001113, allocations: 95.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.823e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3284, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.431/1.76, allocations: 478.4 MB / 1.68 GB, free: 1.879 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000413/1.76, allocations: 102.7 kB / 1.68 GB, free: 1.824 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.766/3.526, allocations: 488.8 MB / 2.157 GB, free: 45.19 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/3.526, allocations: 0 / 2.157 GB, free: 45.19 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001179/3.526, allocations: 31.98 kB / 2.157 GB, free: 45.16 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004217/3.53, allocations: 1.839 MB / 2.159 GB, free: 43.26 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/3.53, allocations: 12.02 kB / 2.159 GB, free: 43.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/3.532, allocations: 361.9 kB / 2.159 GB, free: 42.89 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/3.535, allocations: 1.338 MB / 2.161 GB, free: 41.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/3.535, allocations: 125.4 kB / 2.161 GB, free: 41.37 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/3.535, allocations: 84 kB / 2.161 GB, free: 41.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/3.537, allocations: 1.097 MB / 2.162 GB, free: 40.15 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/3.537, allocations: 0 / 2.162 GB, free: 40.15 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/3.537, allocations: 35.95 kB / 2.162 GB, free: 40.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/3.537, allocations: 20 kB / 2.162 GB, free: 40.09 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/3.538, allocations: 1.023 MB / 2.163 GB, free: 39.07 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.006578/3.545, allocations: 4.923 MB / 2.168 GB, free: 33.93 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/3.546, allocations: 0.7571 MB / 2.168 GB, free: 33.16 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/3.547, allocations: 0.4911 MB / 2.169 GB, free: 32.67 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/3.547, allocations: 0.59 MB / 2.17 GB, free: 31.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007837/3.548, allocations: 0.6211 MB / 2.17 GB, free: 31.31 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.346e-06/3.548, allocations: 0 / 2.17 GB, free: 31.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.001664/3.55, allocations: 1.006 MB / 2.171 GB, free: 30.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/3.55, allocations: 115.3 kB / 2.171 GB, free: 30.16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/3.551, allocations: 1.009 MB / 2.172 GB, free: 29.14 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/3.551, allocations: 45.7 kB / 2.172 GB, free: 29.09 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/3.552, allocations: 0.5627 MB / 2.173 GB, free: 28.52 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/3.552, allocations: 169.6 kB / 2.173 GB, free: 28.35 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/3.552, allocations: 16 kB / 2.173 GB, free: 28.33 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/3.552, allocations: 326 kB / 2.173 GB, free: 28.01 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/3.553, allocations: 425.4 kB / 2.174 GB, free: 27.59 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/3.553, allocations: 0.6047 MB / 2.174 GB, free: 26.91 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/3.554, allocations: 396.9 kB / 2.175 GB, free: 26.53 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/3.554, allocations: 4 kB / 2.175 GB, free: 26.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001537/3.555, allocations: 1.079 MB / 2.176 GB, free: 25.43 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003411/3.556, allocations: 1.24 MB / 2.177 GB, free: 24.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/3.556, allocations: 0 / 2.177 GB, free: 24.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/3.556, allocations: 8 kB / 2.177 GB, free: 24.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/3.556, allocations: 159.7 kB / 2.177 GB, free: 23.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/3.556, allocations: 11.98 kB / 2.177 GB, free: 23.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/3.557, allocations: 123.4 kB / 2.177 GB, free: 23.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/3.557, allocations: 59.95 kB / 2.177 GB, free: 23.75 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/3.557, allocations: 4 kB / 2.177 GB, free: 23.75 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/3.559, allocations: 0.9464 MB / 2.178 GB, free: 22.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/3.559, allocations: 7.938 kB / 2.178 GB, free: 22.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/3.559, allocations: 4 kB / 2.178 GB, free: 22.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/3.559, allocations: 159.7 kB / 2.178 GB, free: 22.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/3.559, allocations: 15.92 kB / 2.178 GB, free: 22.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/3.56, allocations: 127.5 kB / 2.179 GB, free: 22.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/3.56, allocations: 51.95 kB / 2.179 GB, free: 22.44 MB / 1.151 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.0002384/3.561, allocations: 155 kB / 2.179 GB, free: 22.28 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/3.561, allocations: 114.6 kB / 2.179 GB, free: 22.17 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 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.001222/3.562, allocations: 0.6209 MB / 2.179 GB, free: 21.55 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.