Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001928/0.001928, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 288.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9424/0.9424, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.442, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06356/0.5056, allocations: 61.18 MB / 0.8268 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.5236, allocations: 12 MB / 0.8385 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.5258, allocations: 59.62 kB / 0.8386 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.5282, allocations: 0.6947 MB / 0.8392 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.534, allocations: 2.072 MB / 0.8413 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.5373, allocations: 1.216 MB / 0.8425 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.5418, allocations: 3.091 MB / 0.8455 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.5439, allocations: 1.135 MB / 0.8466 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/0.5475, allocations: 1.36 MB / 0.8479 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.5493, allocations: 0.91 MB / 0.8488 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000339/0.5496, allocations: 120 kB / 0.8489 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.5529, allocations: 1.447 MB / 0.8503 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.5534, allocations: 302.8 kB / 0.8506 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.5548, allocations: 0.7036 MB / 0.8513 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.5591, allocations: 2.336 MB / 0.8536 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5591, allocations: 0 / 0.8536 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5591, allocations: 4 kB / 0.8536 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.717e-05/0.5591, allocations: 0 / 0.8536 GB, free: 10.97 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003955/0.5631, allocations: 1.738 MB / 0.8553 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5632, allocations: 8.031 kB / 0.8553 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.5659, allocations: 458.8 kB / 0.8557 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.5684, allocations: 1.183 MB / 0.8569 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.5685, allocations: 62 kB / 0.8569 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.5686, allocations: 80 kB / 0.857 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.571, allocations: 1.006 MB / 0.858 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.571, allocations: 3.984 kB / 0.858 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.5711, allocations: 32 kB / 0.858 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5711, allocations: 16 kB / 0.858 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.5739, allocations: 0.9446 MB / 0.859 GB, free: 5.301 MB / 0.6231 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.006689/0.5806, allocations: 4.663 MB / 0.8635 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.585, allocations: 0.9886 MB / 0.8645 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.5862, allocations: 405.9 kB / 0.8649 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009817/0.5872, allocations: 1.021 MB / 0.8659 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.5872, allocations: 38.94 kB / 0.8659 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 4.758e-06/0.5872, allocations: 4 kB / 0.8659 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53): time 0.008084/0.5953, allocations: 1.897 MB / 0.8678 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.5954, allocations: 63.78 kB / 0.8678 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.5969, allocations: 0.959 MB / 0.8688 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.597, allocations: 37.7 kB / 0.8688 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.5974, allocations: 0.5002 MB / 0.8693 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.5976, allocations: 185.3 kB / 0.8695 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.5979, allocations: 130.1 kB / 0.8696 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.598, allocations: 330 kB / 0.8699 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.5991, allocations: 350.9 kB / 0.8702 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.6003, allocations: 0.503 MB / 0.8707 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.6025, allocations: 0.7501 MB / 0.8715 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6025, allocations: 4 kB / 0.8715 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003144/0.6057, allocations: 1.049 MB / 0.8725 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6057, allocations: 8 kB / 0.8725 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.6057, allocations: 4 kB / 0.8725 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.607, allocations: 308.8 kB / 0.8728 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/0.6078, allocations: 131.8 kB / 0.8729 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.6093, allocations: 0.888 MB / 0.8738 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.6104, allocations: 127.3 kB / 0.8739 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.6105, allocations: 31.97 kB / 0.8739 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001452/0.612, allocations: 0.5541 MB / 0.8745 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001205/0.6132, allocations: 0.5061 MB / 0.875 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00212/0.6153, allocations: 0.7424 MB / 0.8757 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.6153, allocations: 0 / 0.8757 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00306/0.6184, allocations: 1.045 MB / 0.8767 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6184, allocations: 8 kB / 0.8767 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.6184, allocations: 4 kB / 0.8767 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.6195, allocations: 292.6 kB / 0.877 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.6202, allocations: 135.8 kB / 0.8771 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.6217, allocations: 0.8878 MB / 0.878 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6228, allocations: 107.6 kB / 0.8781 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.6229, allocations: 31.92 kB / 0.8781 GB, free: 0.7344 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002548/0.6232, allocations: 216.1 kB / 0.8783 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.6235, allocations: 106.7 kB / 0.8785 GB, free: 420 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.6268, allocations: 1.154 MB / 0.8796 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.6268, allocations: 3.984 kB / 0.8796 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6268, allocations: 0 / 0.8796 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.6273, allocations: 275.5 kB / 0.8798 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.6275, allocations: 12 kB / 0.8799 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/0.6284, allocations: 75.91 kB / 0.8799 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.6285, allocations: 32.52 kB / 0.88 GB, free: 14.83 MB / 0.6544 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.003446/0.632, allocations: 0.8858 MB / 0.8808 GB, free: 13.94 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow could not be translated