Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.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.Tank,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_Tank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.Tank,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_Tank",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.106/2.106, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001128/0.001128, allocations: 179.9 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.433/1.433, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0009057/0.0009058, allocations: 95.89 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.129e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2872, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.473, allocations: 476 MB / 1.684 GB, free: 6.391 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.473, allocations: 99.92 kB / 1.684 GB, free: 6.293 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 2.896/4.37, allocations: 0.7753 GB / 2.459 GB, free: 85.14 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.433e-06/4.37, allocations: 0 / 2.459 GB, free: 85.14 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001623/4.37, allocations: 55.98 kB / 2.459 GB, free: 85.09 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.006186/4.376, allocations: 2.834 MB / 2.462 GB, free: 82.17 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/4.376, allocations: 8.031 kB / 2.462 GB, free: 82.16 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/4.376, allocations: 190 kB / 2.462 GB, free: 81.96 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/4.38, allocations: 0.6729 MB / 2.463 GB, free: 81.29 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/4.384, allocations: 2.261 MB / 2.465 GB, free: 78.95 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/4.384, allocations: 253.1 kB / 2.465 GB, free: 78.68 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/4.385, allocations: 140 kB / 2.465 GB, free: 78.54 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/4.387, allocations: 1.895 MB / 2.467 GB, free: 76.59 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/4.387, allocations: 0 / 2.467 GB, free: 76.59 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/4.388, allocations: 60 kB / 2.467 GB, free: 76.53 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/4.388, allocations: 32 kB / 2.467 GB, free: 76.5 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/4.39, allocations: 1.837 MB / 2.469 GB, free: 74.65 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.01006/4.4, allocations: 8.227 MB / 2.477 GB, free: 66.11 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/4.402, allocations: 1.301 MB / 2.478 GB, free: 64.79 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000984/4.403, allocations: 0.9134 MB / 2.479 GB, free: 63.87 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/4.403, allocations: 0.515 MB / 2.48 GB, free: 63.25 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/4.404, allocations: 1.131 MB / 2.481 GB, free: 62.09 MB / 1.135 GB Notification: Performance of pre-optimization done (n=94): time 2.244e-06/4.404, allocations: 0 / 2.481 GB, free: 62.09 MB / 1.135 GB Notification: Performance of matching and sorting (n=94): time 0.002844/4.407, allocations: 1.956 MB / 2.483 GB, free: 60.12 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/4.407, allocations: 119.5 kB / 2.483 GB, free: 59.98 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/4.409, allocations: 1.738 MB / 2.485 GB, free: 58.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/4.409, allocations: 61.73 kB / 2.485 GB, free: 58.13 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006594/4.41, allocations: 0.9336 MB / 2.485 GB, free: 57.19 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/4.41, allocations: 288 kB / 2.486 GB, free: 56.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/4.411, allocations: 20 kB / 2.486 GB, free: 56.88 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/4.411, allocations: 349.9 kB / 2.486 GB, free: 56.54 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008848/4.411, allocations: 0.7715 MB / 2.487 GB, free: 55.76 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/4.413, allocations: 1.049 MB / 2.488 GB, free: 54.61 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/4.413, allocations: 0.7116 MB / 2.489 GB, free: 53.89 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/4.413, allocations: 7.875 kB / 2.489 GB, free: 53.88 MB / 1.135 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002959/4.416, allocations: 2.063 MB / 2.491 GB, free: 51.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003782/4.417, allocations: 1.788 MB / 2.492 GB, free: 49.89 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/4.417, allocations: 11.94 kB / 2.492 GB, free: 49.88 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/4.417, allocations: 112.7 kB / 2.492 GB, free: 49.77 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/4.418, allocations: 251.6 kB / 2.493 GB, free: 49.52 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004479/4.419, allocations: 0.6772 MB / 2.493 GB, free: 48.82 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/4.421, allocations: 231 kB / 2.494 GB, free: 48.59 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/4.421, allocations: 95.94 kB / 2.494 GB, free: 48.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/4.421, allocations: 4 kB / 2.494 GB, free: 48.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002496/4.423, allocations: 1.877 MB / 2.496 GB, free: 46.61 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/4.423, allocations: 4 kB / 2.496 GB, free: 46.61 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/4.424, allocations: 100.8 kB / 2.496 GB, free: 46.51 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/4.425, allocations: 259.5 kB / 2.496 GB, free: 46.25 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/4.426, allocations: 2.025 MB / 2.498 GB, free: 44.08 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/4.429, allocations: 219.2 kB / 2.498 GB, free: 43.86 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/4.429, allocations: 103.9 kB / 2.498 GB, free: 43.76 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 38 ($whenCondition6,$PRE.TSou.nextTimeEvent,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$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,TSou.nextTimeEvent,$PRE.TSou.nextTimeEventScaled,TSou.nextTimeEventScaled,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.iceTanUnc.tanHeaTra.SOCCalc.charged,iceTanUnc.tanHeaTra.SOCCalc.charged,$PRE.iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.suspend,$PRE.iceTanUnc.tanHeaTra.canFreeze.lesHys.y,iceTanUnc.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTanUnc.tanHeaTra.canMelt.greHys.y,iceTanUnc.tanHeaTra.canMelt.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004244/4.429, allocations: 222 kB / 2.498 GB, free: 43.54 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/4.43, allocations: 197.6 kB / 2.499 GB, free: 43.34 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 97 equation(s) and 95 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/4.431, allocations: 1.059 MB / 2.5 GB, free: 42.27 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.