Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001633/0.001633, allocations: 117.7 kB / 16.42 MB, free: 6.465 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.002007/0.002007, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.393/1.393, 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.002219/0.002219, allocations: 281.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.976/0.976, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 92.09 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5037, allocations: 86.97 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.05613/0.5599, allocations: 61.14 MB / 0.8267 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.5769, allocations: 11.99 MB / 0.8385 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.5792, allocations: 55.69 kB / 0.8385 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.5812, allocations: 0.7103 MB / 0.8392 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.5867, allocations: 2.067 MB / 0.8412 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.5897, allocations: 1.202 MB / 0.8424 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.5936, allocations: 3.093 MB / 0.8454 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.5953, allocations: 1.096 MB / 0.8465 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.5988, allocations: 1.368 MB / 0.8478 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.6005, allocations: 0.8944 MB / 0.8487 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.6008, allocations: 120 kB / 0.8488 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.6042, allocations: 1.439 MB / 0.8502 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000439/0.6047, allocations: 286.9 kB / 0.8505 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.6059, allocations: 0.6997 MB / 0.8512 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.6101, allocations: 2.316 MB / 0.8534 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6101, allocations: 0 / 0.8534 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6101, allocations: 0 / 0.8534 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.318e-05/0.6102, allocations: 0 / 0.8534 GB, free: 11.16 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003719/0.6139, allocations: 1.723 MB / 0.8551 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.614, allocations: 8.031 kB / 0.8551 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.6162, allocations: 410.8 kB / 0.8555 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.6184, allocations: 1.159 MB / 0.8566 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.6185, allocations: 66 kB / 0.8567 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6186, allocations: 80 kB / 0.8568 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.6208, allocations: 0.9976 MB / 0.8578 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.6208, allocations: 0 / 0.8578 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.6209, allocations: 36 kB / 0.8578 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.6209, allocations: 20 kB / 0.8578 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.6231, allocations: 0.8508 MB / 0.8586 GB, free: 5.648 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.00644/0.6296, allocations: 5.222 MB / 0.8637 GB, free: 52 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.633, allocations: 0.7892 MB / 0.8645 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/0.6338, allocations: 296.6 kB / 0.8648 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.6344, allocations: 0.9063 MB / 0.8657 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6344, allocations: 38.56 kB / 0.8657 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.6345, allocations: 0 / 0.8657 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.007076/0.6415, allocations: 1.697 MB / 0.8674 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.6416, allocations: 55.41 kB / 0.8674 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.6433, allocations: 1.084 MB / 0.8685 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.6434, allocations: 33.7 kB / 0.8685 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.6438, allocations: 0.5312 MB / 0.869 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.644, allocations: 141.9 kB / 0.8692 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.6442, allocations: 138.1 kB / 0.8693 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6444, allocations: 333.9 kB / 0.8696 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/0.6453, allocations: 307.3 kB / 0.8699 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.6464, allocations: 0.5327 MB / 0.8704 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.6481, allocations: 0.7144 MB / 0.8711 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6482, allocations: 3.938 kB / 0.8711 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002698/0.6509, allocations: 1.008 MB / 0.8721 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6509, allocations: 8 kB / 0.8721 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.6509, allocations: 4 kB / 0.8721 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.6522, allocations: 304.7 kB / 0.8724 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.6528, allocations: 131.8 kB / 0.8725 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.6542, allocations: 0.8988 MB / 0.8734 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6554, allocations: 151.2 kB / 0.8736 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.6555, allocations: 35.98 kB / 0.8736 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001233/0.6568, allocations: 0.509 MB / 0.8741 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/0.6579, allocations: 0.5212 MB / 0.8746 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001647/0.6595, allocations: 0.6981 MB / 0.8753 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.6595, allocations: 4 kB / 0.8753 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002672/0.6622, allocations: 1.008 MB / 0.8763 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6622, allocations: 6.969 kB / 0.8763 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6623, allocations: 8 kB / 0.8763 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.6633, allocations: 300.6 kB / 0.8766 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.6639, allocations: 131.8 kB / 0.8767 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.6653, allocations: 0.9034 MB / 0.8776 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.6665, allocations: 123.6 kB / 0.8777 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/0.6666, allocations: 35.98 kB / 0.8777 GB, free: 0.9883 MB / 0.6387 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.0002281/0.6668, allocations: 224 kB / 0.878 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.667, allocations: 110.6 kB / 0.8781 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.6694, allocations: 0.9183 MB / 0.879 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6694, allocations: 11.98 kB / 0.879 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.6694, allocations: 0 / 0.879 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.6699, allocations: 259.5 kB / 0.8792 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.6701, allocations: 12 kB / 0.8792 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/0.6709, allocations: 67.92 kB / 0.8793 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.671, allocations: 24.39 kB / 0.8793 GB, free: 15.34 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.002804/0.6738, allocations: 0.7614 MB / 0.8801 GB, free: 14.57 MB / 0.6544 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva could not be translated