Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 211.7 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.726/1.726, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.451/3.451, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_TEva") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 64.02 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.463, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.07426/0.5372, allocations: 56.59 MB / 1.382 GB, free: 8.188 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.5595, allocations: 11.15 MB / 1.393 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.563, allocations: 79.31 kB / 1.393 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.5655, allocations: 0.6791 MB / 1.394 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008399/0.5739, allocations: 2.076 MB / 1.396 GB, free: 10.17 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.578, allocations: 1.228 MB / 1.397 GB, free: 8.949 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005844/0.5839, allocations: 3.11 MB / 1.4 GB, free: 5.832 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.5856, allocations: 0.874 MB / 1.401 GB, free: 4.922 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004417/0.59, allocations: 1.538 MB / 1.403 GB, free: 3.383 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.5919, allocations: 0.9139 MB / 1.403 GB, free: 2.465 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.5921, allocations: 116 kB / 1.404 GB, free: 2.352 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/0.5953, allocations: 1.209 MB / 1.405 GB, free: 1.141 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.5956, allocations: 298.7 kB / 1.405 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000808/0.5965, allocations: 0.5559 MB / 1.406 GB, free: 296 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.6006, allocations: 2.281 MB / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6006, allocations: 0 / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.356e-06/0.6006, allocations: 0 / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.297e-05/0.6006, allocations: 3.938 kB / 1.408 GB, free: 14 MB / 1.107 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.003503/0.6041, allocations: 1.692 MB / 1.409 GB, free: 12.26 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.6042, allocations: 12.03 kB / 1.409 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.6063, allocations: 415.6 kB / 1.41 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.609, allocations: 1.12 MB / 1.411 GB, free: 10.67 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.6091, allocations: 65.98 kB / 1.411 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.6092, allocations: 84 kB / 1.411 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.6115, allocations: 1.081 MB / 1.412 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.6115, allocations: 4 kB / 1.412 GB, free: 9.363 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.6116, allocations: 35.98 kB / 1.412 GB, free: 9.328 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.6116, allocations: 16 kB / 1.412 GB, free: 9.312 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.6138, allocations: 0.8508 MB / 1.413 GB, free: 8.461 MB / 1.107 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.006552/0.6204, allocations: 3.738 MB / 1.417 GB, free: 4.613 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.6237, allocations: 0.7611 MB / 1.417 GB, free: 3.836 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007144/0.6244, allocations: 277.4 kB / 1.418 GB, free: 3.562 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.6248, allocations: 75.94 kB / 1.418 GB, free: 3.488 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.6248, allocations: 38.56 kB / 1.418 GB, free: 3.441 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.6248, allocations: 0 / 1.418 GB, free: 3.441 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.006912/0.6317, allocations: 1.617 MB / 1.419 GB, free: 1.812 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.6318, allocations: 59.36 kB / 1.419 GB, free: 1.742 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.6333, allocations: 0.9558 MB / 1.42 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.6334, allocations: 33.7 kB / 1.42 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.6339, allocations: 0.5625 MB / 1.421 GB, free: 160 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.6341, allocations: 158.6 kB / 1.421 GB, free: 0 / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.6344, allocations: 138.3 kB / 1.421 GB, free: 15.86 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6345, allocations: 329.9 kB / 1.422 GB, free: 15.53 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008877/0.6354, allocations: 307.3 kB / 1.422 GB, free: 15.23 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.6368, allocations: 0.9016 MB / 1.423 GB, free: 14.13 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.6386, allocations: 0.7174 MB / 1.423 GB, free: 13.34 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6386, allocations: 0 / 1.423 GB, free: 13.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002823/0.6414, allocations: 0.9969 MB / 1.424 GB, free: 12.34 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.6415, allocations: 8 kB / 1.424 GB, free: 12.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6415, allocations: 4 kB / 1.424 GB, free: 12.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.6429, allocations: 304.6 kB / 1.425 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.6434, allocations: 127.8 kB / 1.425 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.645, allocations: 0.9036 MB / 1.426 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.6462, allocations: 135.6 kB / 1.426 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.6463, allocations: 28 kB / 1.426 GB, free: 10.81 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.6475, allocations: 0.5128 MB / 1.426 GB, free: 10.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/0.649, allocations: 0.9055 MB / 1.427 GB, free: 9.199 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001777/0.6507, allocations: 0.7061 MB / 1.428 GB, free: 8.422 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.6507, allocations: 0 / 1.428 GB, free: 8.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002832/0.6536, allocations: 0.9855 MB / 1.429 GB, free: 7.426 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6536, allocations: 8 kB / 1.429 GB, free: 7.418 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6536, allocations: 4 kB / 1.429 GB, free: 7.414 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.6547, allocations: 286.5 kB / 1.429 GB, free: 7.133 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.6552, allocations: 127.8 kB / 1.429 GB, free: 7.008 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.6567, allocations: 0.8958 MB / 1.43 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6578, allocations: 127.6 kB / 1.43 GB, free: 5.961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.6579, allocations: 39.98 kB / 1.43 GB, free: 5.922 MB / 1.123 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.0003529/0.6583, allocations: 216.1 kB / 1.431 GB, free: 5.703 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.6585, allocations: 107.3 kB / 1.431 GB, free: 5.598 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.661, allocations: 0.9126 MB / 1.432 GB, free: 4.668 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.661, allocations: 7.922 kB / 1.432 GB, free: 4.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.661, allocations: 11.94 kB / 1.432 GB, free: 4.648 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.6614, allocations: 167.2 kB / 1.432 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6616, allocations: 8 kB / 1.432 GB, free: 4.477 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.6622, allocations: 67.92 kB / 1.432 GB, free: 4.41 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.6623, allocations: 24.38 kB / 1.432 GB, free: 4.387 MB / 1.123 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.002637/0.665, allocations: 0.762 MB / 1.433 GB, free: 3.625 MB / 1.123 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.Chillers.Examples.Carnot_TEva could not be translated " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 8.236029191990383] Failed to read output from testmodel.py, exit status != 0: 0.6746243510278873 0.689401954 0.085370019 Calling exit ...