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.001174/0.001175, allocations: 92.55 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.419/1.419, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7525/0.7525, allocations: 115.5 MB / 407.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 12 kB / 495.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 77.54 MB / 0.5593 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3821/0.5341, allocations: 56.41 MB / 0.6144 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.5521, allocations: 11.22 MB / 0.6254 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.555, allocations: 53.31 kB / 0.6254 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.5571, allocations: 466.1 kB / 0.6259 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005866/0.563, allocations: 1.533 MB / 0.6274 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.5661, allocations: 0.858 MB / 0.6282 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005887/0.572, allocations: 3.396 MB / 0.6315 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.5737, allocations: 0.7855 MB / 0.6323 GB, free: 6.605 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.5768, allocations: 1.046 MB / 0.6333 GB, free: 6.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.5784, allocations: 0.8016 MB / 0.6341 GB, free: 5.559 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.5785, allocations: 44.94 kB / 0.6341 GB, free: 5.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.5817, allocations: 1.095 MB / 0.6352 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.582, allocations: 201.3 kB / 0.6354 GB, free: 4.812 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.5826, allocations: 281.2 kB / 0.6357 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.5853, allocations: 1.632 MB / 0.6373 GB, free: 3.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5853, allocations: 0 / 0.6373 GB, free: 3.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5853, allocations: 3 kB / 0.6373 GB, free: 3.578 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.5854, allocations: 0 / 0.6373 GB, free: 3.578 MB / 462.1 MB 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.002991/0.5884, allocations: 1.507 MB / 0.6387 GB, free: 2.402 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5884, allocations: 9.781 kB / 0.6387 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.5904, allocations: 467.8 kB / 0.6392 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.5925, allocations: 1.082 MB / 0.6402 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.5929, allocations: 130.4 kB / 0.6404 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.593, allocations: 88.09 kB / 0.6404 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.595, allocations: 0.9951 MB / 0.6414 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5951, allocations: 1.281 kB / 0.6414 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/0.5952, allocations: 31.69 kB / 0.6415 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.5952, allocations: 18.91 kB / 0.6415 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.5974, allocations: 0.9074 MB / 0.6424 GB, free: 184 kB / 462.1 MB 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.006806/0.6042, allocations: 4.886 MB / 0.6471 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.6074, allocations: 0.8932 MB / 0.648 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/0.6081, allocations: 321.9 kB / 0.6483 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/0.6087, allocations: 0.9052 MB / 0.6492 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6088, allocations: 37.03 kB / 0.6492 GB, free: 10.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.6088, allocations: 0 / 0.6492 GB, free: 10.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.006939/0.6157, allocations: 1.951 MB / 0.6511 GB, free: 8.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.6158, allocations: 55.41 kB / 0.6512 GB, free: 8.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.6176, allocations: 1.051 MB / 0.6522 GB, free: 7.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.435e-05/0.6177, allocations: 41.64 kB / 0.6522 GB, free: 7.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.6182, allocations: 0.5196 MB / 0.6528 GB, free: 6.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.6184, allocations: 149.8 kB / 0.6529 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.6184, allocations: 12 kB / 0.6529 GB, free: 6.656 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6186, allocations: 326 kB / 0.6532 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.6194, allocations: 320.9 kB / 0.6535 GB, free: 6.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.6204, allocations: 0.5189 MB / 0.654 GB, free: 5.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.6214, allocations: 354 kB / 0.6544 GB, free: 5.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6214, allocations: 0 / 0.6544 GB, free: 5.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003427/0.6248, allocations: 1.228 MB / 0.6556 GB, free: 3.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.625, allocations: 209 kB / 0.6558 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.625, allocations: 8 kB / 0.6558 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.6262, allocations: 340.6 kB / 0.6561 GB, free: 3.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.6267, allocations: 123.8 kB / 0.6562 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.6281, allocations: 0.9404 MB / 0.6571 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6295, allocations: 187.2 kB / 0.6573 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/0.6296, allocations: 39.98 kB / 0.6574 GB, free: 1.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.6296, allocations: 4 kB / 0.6574 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003074/0.6327, allocations: 1.062 MB / 0.6584 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6327, allocations: 4 kB / 0.6584 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.6337, allocations: 329 kB / 0.6587 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.6342, allocations: 127.8 kB / 0.6588 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.6356, allocations: 0.9445 MB / 0.6598 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6369, allocations: 167.4 kB / 0.6599 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.637, allocations: 31.98 kB / 0.6599 GB, free: 15.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006047/0.6376, allocations: 348.9 kB / 0.6603 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.6378, allocations: 114.6 kB / 0.6604 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.64, allocations: 0.9767 MB / 0.6613 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.6401, allocations: 8 kB / 0.6614 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6401, allocations: 0 / 0.6614 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6401, allocations: 3.984 kB / 0.6614 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/0.6449, allocations: 2.268 MB / 0.6636 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.645, allocations: 4 kB / 0.6636 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.6452, allocations: 68.17 kB / 0.6636 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009947/0.6463, allocations: 327 kB / 0.664 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.6463, allocations: 16 kB / 0.664 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.6477, allocations: 0.966 MB / 0.6649 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6477, allocations: 4 kB / 0.6649 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.6512, allocations: 1.25 MB / 0.6661 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.6519, allocations: 283.4 kB / 0.6664 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.652, allocations: 11.98 kB / 0.6664 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.6529, allocations: 115.8 kB / 0.6665 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.653, allocations: 39.84 kB / 0.6666 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.653, allocations: 20 kB / 0.6666 GB, free: 8.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.6542, allocations: 0.7352 MB / 0.6673 GB, free: 7.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6542, allocations: 3.938 kB / 0.6673 GB, free: 7.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001593/0.6558, allocations: 0.5574 MB / 0.6679 GB, free: 6.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007009/0.6565, allocations: 370.8 kB / 0.6682 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.6595, allocations: 1.16 MB / 0.6693 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.6595, allocations: 0 / 0.6693 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.6604, allocations: 366.5 kB / 0.6697 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.6628, allocations: 0.5051 MB / 0.6702 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.6684, allocations: 2.489 MB / 0.6726 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/0.669, allocations: 1.065 MB / 0.6736 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.6701, allocations: 212.7 kB / 0.6739 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.6703, allocations: 83.36 kB / 0.6739 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6703, allocations: 0 / 0.6739 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of Templates: time 0.04192/0.7122, allocations: 22.9 MB / 0.6963 GB, free: 10 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)