Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 179 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205 MB / 0.5767 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008068/0.0008068, allocations: 85.97 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 9.938 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.03988/0.2487, allocations: 60.53 MB / 0.9558 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.2624, allocations: 11.92 MB / 0.9675 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.2646, allocations: 55.62 kB / 0.9675 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.2665, allocations: 0.5516 MB / 0.9681 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.2719, allocations: 1.791 MB / 0.9698 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.2748, allocations: 1.091 MB / 0.9709 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004525/0.2793, allocations: 3.894 MB / 0.9747 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2806, allocations: 0.8767 MB / 0.9755 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.2829, allocations: 1.116 MB / 0.9766 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.284, allocations: 0.8786 MB / 0.9775 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.2841, allocations: 40 kB / 0.9775 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.2868, allocations: 1.306 MB / 0.9788 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.2871, allocations: 206.9 kB / 0.979 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.2877, allocations: 0.6137 MB / 0.9796 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.2903, allocations: 2.189 MB / 0.9817 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2903, allocations: 0 / 0.9817 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.721e-06/0.2903, allocations: 0 / 0.9817 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.2903, allocations: 3.938 kB / 0.9817 GB, free: 12.79 MB / 0.6355 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.002583/0.2929, allocations: 1.489 MB / 0.9832 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.293, allocations: 12.03 kB / 0.9832 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.2951, allocations: 478.8 kB / 0.9837 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.2971, allocations: 1.136 MB / 0.9848 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.2975, allocations: 125.9 kB / 0.9849 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.2976, allocations: 80 kB / 0.985 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.2996, allocations: 1.003 MB / 0.986 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.2996, allocations: 11.94 kB / 0.986 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.2997, allocations: 28 kB / 0.986 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.2997, allocations: 20 kB / 0.986 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.302, allocations: 0.9212 MB / 0.9869 GB, free: 7.34 MB / 0.6355 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.006008/0.308, allocations: 4.643 MB / 0.9914 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.3114, allocations: 0.9408 MB / 0.9924 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007484/0.3122, allocations: 344.6 kB / 0.9927 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/0.3129, allocations: 0.9029 MB / 0.9936 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3129, allocations: 39 kB / 0.9936 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.687e-06/0.3129, allocations: 0 / 0.9936 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.00705/0.32, allocations: 2.002 MB / 0.9956 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.32, allocations: 59.84 kB / 0.9956 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.3215, allocations: 1.06 MB / 0.9967 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.3216, allocations: 41.64 kB / 0.9967 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.3221, allocations: 0.5314 MB / 0.9972 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3222, allocations: 161.6 kB / 0.9974 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.3223, allocations: 49.69 kB / 0.9974 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3224, allocations: 330 kB / 0.9977 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008664/0.3233, allocations: 340.9 kB / 0.9981 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.3243, allocations: 0.5235 MB / 0.9986 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.326, allocations: 0.7449 MB / 0.9993 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.326, allocations: 0 / 0.9993 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002713/0.3288, allocations: 1.077 MB / 1 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.3289, allocations: 205 kB / 1.001 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3289, allocations: 8 kB / 1.001 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.3303, allocations: 330.5 kB / 1.001 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.3308, allocations: 139.8 kB / 1.001 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.3323, allocations: 0.9347 MB / 1.002 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.3337, allocations: 203.2 kB / 1.002 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.3338, allocations: 31.98 kB / 1.002 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.3338, allocations: 0 / 1.002 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00247/0.3363, allocations: 0.9403 MB / 1.003 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3363, allocations: 4 kB / 1.003 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.3374, allocations: 323.6 kB / 1.003 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.3379, allocations: 135.8 kB / 1.003 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.3393, allocations: 0.9425 MB / 1.004 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3406, allocations: 167.4 kB / 1.005 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.3407, allocations: 31.98 kB / 1.005 GB, free: 4.352 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.000633/0.3413, allocations: 348.9 kB / 1.005 GB, free: 4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.3415, allocations: 114.6 kB / 1.005 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.3441, allocations: 1.038 MB / 1.006 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3441, allocations: 7.922 kB / 1.006 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3441, allocations: 0 / 1.006 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.3446, allocations: 263.5 kB / 1.006 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.3448, allocations: 16 kB / 1.006 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.3456, allocations: 107.9 kB / 1.006 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.3457, allocations: 28.39 kB / 1.006 GB, free: 2.398 MB / 0.6511 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.002824/0.3485, allocations: 0.9024 MB / 1.007 GB, free: 1.488 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.