Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 110.1 kB / 16.42 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 186.6 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8879/0.8879, allocations: 143.1 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 72.91 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1434, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05732/0.2007, allocations: 61.15 MB / 0.736 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2163, allocations: 12 MB / 0.7477 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.218, allocations: 59.62 kB / 0.7478 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.2196, allocations: 0.6987 MB / 0.7485 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3066/0.5263, allocations: 2.061 MB / 0.7505 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.5297, allocations: 1.211 MB / 0.7517 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004694/0.5344, allocations: 3.085 MB / 0.7547 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.5362, allocations: 1.097 MB / 0.7558 GB, free: 19.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.5394, allocations: 1.363 MB / 0.7571 GB, free: 19.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.5411, allocations: 0.8999 MB / 0.758 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.5415, allocations: 114.9 kB / 0.7581 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.5449, allocations: 1.449 MB / 0.7595 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.5453, allocations: 289.3 kB / 0.7598 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.5464, allocations: 0.6907 MB / 0.7604 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.5497, allocations: 2.404 MB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5498, allocations: 2.156 kB / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5498, allocations: 0 / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.5498, allocations: 0 / 0.7628 GB, free: 18.41 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003089/0.5529, allocations: 1.73 MB / 0.7645 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5529, allocations: 8.828 kB / 0.7645 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.5551, allocations: 405.3 kB / 0.7649 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.5572, allocations: 1.159 MB / 0.766 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.5572, allocations: 71.53 kB / 0.7661 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.5573, allocations: 81.58 kB / 0.7662 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.5593, allocations: 1.002 MB / 0.7671 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.5593, allocations: 1.875 kB / 0.7671 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.5594, allocations: 31.47 kB / 0.7672 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.5595, allocations: 23.45 kB / 0.7672 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.5617, allocations: 0.8494 MB / 0.768 GB, free: 16.77 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005456/0.5671, allocations: 5.225 MB / 0.7731 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.5704, allocations: 0.7776 MB / 0.7739 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.5711, allocations: 302.1 kB / 0.7742 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/0.5716, allocations: 0.9026 MB / 0.775 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5716, allocations: 43.47 kB / 0.7751 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.5716, allocations: 0 / 0.7751 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006916/0.5786, allocations: 1.688 MB / 0.7767 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.5786, allocations: 55.22 kB / 0.7768 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5801, allocations: 1.078 MB / 0.7778 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.5801, allocations: 36.17 kB / 0.7779 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.5805, allocations: 0.5356 MB / 0.7784 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5806, allocations: 149.9 kB / 0.7785 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.5808, allocations: 132.8 kB / 0.7787 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.5809, allocations: 326.8 kB / 0.779 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/0.5818, allocations: 308.7 kB / 0.7793 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009823/0.5827, allocations: 0.5361 MB / 0.7798 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.5843, allocations: 0.7069 MB / 0.7805 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5843, allocations: 1.5 kB / 0.7805 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002644/0.587, allocations: 1.016 MB / 0.7815 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.587, allocations: 7.562 kB / 0.7815 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.587, allocations: 9.797 kB / 0.7815 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.5882, allocations: 303.1 kB / 0.7818 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.5888, allocations: 135 kB / 0.7819 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.5901, allocations: 0.9081 MB / 0.7828 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5914, allocations: 147.9 kB / 0.7829 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-05/0.5915, allocations: 34.73 kB / 0.783 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001232/0.5928, allocations: 0.5036 MB / 0.7835 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009768/0.5938, allocations: 0.5217 MB / 0.784 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00152/0.5953, allocations: 0.7042 MB / 0.7847 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.008e-06/0.5953, allocations: 2.938 kB / 0.7847 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002547/0.5979, allocations: 1.011 MB / 0.7857 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5979, allocations: 7.875 kB / 0.7857 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5979, allocations: 9.438 kB / 0.7857 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.5989, allocations: 295.7 kB / 0.786 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.5995, allocations: 122.6 kB / 0.7861 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.6007, allocations: 0.8943 MB / 0.7869 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.602, allocations: 134.2 kB / 0.7871 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.6021, allocations: 30.36 kB / 0.7871 GB, free: 8.492 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003039/0.6024, allocations: 225.6 kB / 0.7873 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6026, allocations: 111.2 kB / 0.7874 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.6052, allocations: 0.9159 MB / 0.7883 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6052, allocations: 5.812 kB / 0.7883 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6052, allocations: 0 / 0.7883 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.6056, allocations: 270.5 kB / 0.7886 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.6057, allocations: 10.59 kB / 0.7886 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/0.6065, allocations: 71.62 kB / 0.7887 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.6066, allocations: 28.8 kB / 0.7887 GB, free: 7.645 MB / 0.5762 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002534/0.6091, allocations: 0.7668 MB / 0.7894 GB, free: 7.395 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva could not be translated