Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001215/0.001215, allocations: 113 kB / 17.09 MB, free: 5.961 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.001165/0.001165, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6829/0.6829, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.39 kB / 0.5583 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.182, allocations: 76.18 MB / 0.6327 GB, free: 4.516 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.06251/0.2445, allocations: 61.13 MB / 0.6924 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.263, allocations: 11.99 MB / 0.7041 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.2658, allocations: 59.62 kB / 0.7042 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.2679, allocations: 0.6752 MB / 0.7049 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006584/0.2746, allocations: 1.971 MB / 0.7068 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.2784, allocations: 1.204 MB / 0.708 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005358/0.2838, allocations: 3.083 MB / 0.711 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.2857, allocations: 1.096 MB / 0.712 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003581/0.2893, allocations: 1.353 MB / 0.7134 GB, free: 1.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.2908, allocations: 0.9022 MB / 0.7142 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.291, allocations: 116 kB / 0.7143 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.295, allocations: 1.443 MB / 0.7158 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.2955, allocations: 286.9 kB / 0.716 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.2967, allocations: 0.6958 MB / 0.7167 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.3025, allocations: 2.29 MB / 0.7189 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3025, allocations: 0 / 0.7189 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3025, allocations: 0 / 0.7189 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.3026, allocations: 0 / 0.7189 GB, free: 11.9 MB / 0.5606 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.004481/0.307, allocations: 1.73 MB / 0.7206 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.3071, allocations: 8.031 kB / 0.7206 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.3101, allocations: 406.8 kB / 0.721 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.3135, allocations: 1.167 MB / 0.7222 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/0.3136, allocations: 70 kB / 0.7222 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.3138, allocations: 76 kB / 0.7223 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.3166, allocations: 1.001 MB / 0.7233 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.3167, allocations: 4 kB / 0.7233 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.3168, allocations: 32 kB / 0.7233 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.3168, allocations: 24 kB / 0.7233 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.3199, allocations: 0.843 MB / 0.7242 GB, free: 6.375 MB / 0.5606 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.009417/0.3293, allocations: 5.235 MB / 0.7293 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00453/0.3339, allocations: 0.7836 MB / 0.73 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009713/0.3349, allocations: 292.7 kB / 0.7303 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009519/0.3358, allocations: 0.9063 MB / 0.7312 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3359, allocations: 42.5 kB / 0.7313 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 4.018e-06/0.3359, allocations: 0 / 0.7313 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.009742/0.3456, allocations: 1.7 MB / 0.7329 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3457, allocations: 55.41 kB / 0.733 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.3481, allocations: 1.08 MB / 0.734 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3483, allocations: 33.7 kB / 0.734 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/0.3489, allocations: 0.5273 MB / 0.7346 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.3491, allocations: 157.8 kB / 0.7347 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.3494, allocations: 134.1 kB / 0.7348 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3496, allocations: 333.9 kB / 0.7352 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.3508, allocations: 307.3 kB / 0.7355 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.3524, allocations: 0.5251 MB / 0.736 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.3548, allocations: 0.7057 MB / 0.7367 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3548, allocations: 4 kB / 0.7367 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003935/0.3587, allocations: 1.008 MB / 0.7376 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.3588, allocations: 8 kB / 0.7377 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3588, allocations: 4 kB / 0.7377 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.3606, allocations: 304.7 kB / 0.7379 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/0.3614, allocations: 131.8 kB / 0.7381 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.3634, allocations: 0.9061 MB / 0.739 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.3652, allocations: 155.2 kB / 0.7391 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.3653, allocations: 31.98 kB / 0.7391 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001381/0.3667, allocations: 0.5012 MB / 0.7396 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.3678, allocations: 0.5329 MB / 0.7401 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/0.3694, allocations: 0.7022 MB / 0.7408 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.3694, allocations: 0 / 0.7408 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002743/0.3721, allocations: 1.004 MB / 0.7418 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3722, allocations: 8 kB / 0.7418 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3722, allocations: 4 kB / 0.7418 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.3733, allocations: 296.6 kB / 0.7421 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.3738, allocations: 127.8 kB / 0.7422 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.3752, allocations: 0.8995 MB / 0.7431 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.3765, allocations: 139.6 kB / 0.7432 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.3765, allocations: 32 kB / 0.7433 GB, free: 1.707 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.0002738/0.3768, allocations: 220.1 kB / 0.7435 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.3771, allocations: 110.6 kB / 0.7436 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.3796, allocations: 0.9223 MB / 0.7445 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.3797, allocations: 3.984 kB / 0.7445 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3797, allocations: 0 / 0.7445 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.3802, allocations: 263.6 kB / 0.7447 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.3804, allocations: 7.984 kB / 0.7447 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/0.3813, allocations: 71.91 kB / 0.7448 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.3814, allocations: 32.39 kB / 0.7448 GB, free: 44 kB / 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.383/0.7643, allocations: 0.75 MB / 0.7456 GB, free: 109.3 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.Chillers.Examples.Carnot_TEva could not be translated