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.001128/0.001128, allocations: 96.66 kB / 15.69 MB, free: 480 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.001306/0.001306, allocations: 174.3 kB / 16.57 MB, free: 6.398 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.402/1.402, allocations: 223.2 MB / 240.5 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.6999/0.6999, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.000303, allocations: 8.906 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 77.16 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3914/0.577, allocations: 51.23 MB / 0.6069 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.5915, allocations: 10.31 MB / 0.6169 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.594, allocations: 50.56 kB / 0.617 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.5963, allocations: 0.6276 MB / 0.6176 GB, free: 0.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007419/0.6038, allocations: 1.945 MB / 0.6195 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004557/0.6084, allocations: 1.31 MB / 0.6208 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.6129, allocations: 1.846 MB / 0.6226 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.6152, allocations: 0.8029 MB / 0.6234 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.6185, allocations: 0.9857 MB / 0.6243 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.6199, allocations: 0.5941 MB / 0.6249 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.6201, allocations: 41.41 kB / 0.6249 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.6231, allocations: 0.9978 MB / 0.6259 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.6233, allocations: 199.2 kB / 0.6261 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.6238, allocations: 280.4 kB / 0.6264 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.6263, allocations: 1.585 MB / 0.6279 GB, free: 11.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6263, allocations: 0 / 0.6279 GB, free: 11.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.6263, allocations: 0 / 0.6279 GB, free: 11.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.6264, allocations: 0 / 0.6279 GB, free: 11.21 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.003122/0.6295, allocations: 1.492 MB / 0.6294 GB, free: 10.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6296, allocations: 8.25 kB / 0.6294 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.6318, allocations: 471.9 kB / 0.6298 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.6341, allocations: 1.049 MB / 0.6309 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.6345, allocations: 131.3 kB / 0.631 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.6346, allocations: 82.06 kB / 0.6311 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.6367, allocations: 0.9945 MB / 0.632 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.6368, allocations: 5.344 kB / 0.632 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/0.6369, allocations: 35.14 kB / 0.6321 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.6369, allocations: 19.16 kB / 0.6321 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.6393, allocations: 0.907 MB / 0.633 GB, free: 7.828 MB / 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.006849/0.6462, allocations: 4.907 MB / 0.6378 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.6497, allocations: 0.9088 MB / 0.6387 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007284/0.6505, allocations: 0.8971 MB / 0.6395 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.6505, allocations: 41.08 kB / 0.6396 GB, free: 1.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.916e-06/0.6505, allocations: 0 / 0.6396 GB, free: 1.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.007393/0.6579, allocations: 1.947 MB / 0.6415 GB, free: 1.031 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.658, allocations: 56.28 kB / 0.6415 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.6595, allocations: 1.063 MB / 0.6426 GB, free: 384 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.6596, allocations: 36.48 kB / 0.6426 GB, free: 344 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.66, allocations: 0.5292 MB / 0.6431 GB, free: 15.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.6601, allocations: 151 kB / 0.6433 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.6602, allocations: 8 kB / 0.6433 GB, free: 15.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6603, allocations: 331.8 kB / 0.6436 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.6612, allocations: 322.2 kB / 0.6439 GB, free: 15.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000985/0.6622, allocations: 0.5181 MB / 0.6444 GB, free: 14.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.6631, allocations: 355.5 kB / 0.6447 GB, free: 14.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.6631, allocations: 0 / 0.6447 GB, free: 14.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003768/0.6669, allocations: 1.225 MB / 0.6459 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006921/0.6676, allocations: 1.675 MB / 0.6476 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6676, allocations: 7.938 kB / 0.6476 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.6689, allocations: 321.4 kB / 0.6479 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.6694, allocations: 123.9 kB / 0.648 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.671, allocations: 0.944 MB / 0.6489 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.6725, allocations: 195.3 kB / 0.6491 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.6726, allocations: 31.97 kB / 0.6491 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.6726, allocations: 4 kB / 0.6491 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003311/0.676, allocations: 1.07 MB / 0.6502 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.676, allocations: 4 kB / 0.6502 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.6772, allocations: 333 kB / 0.6505 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.6777, allocations: 119.8 kB / 0.6506 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.6792, allocations: 0.9515 MB / 0.6516 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.6809, allocations: 167.3 kB / 0.6517 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.681, allocations: 31.98 kB / 0.6517 GB, free: 7.656 MB / 478.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.0008497/0.6818, allocations: 349 kB / 0.6521 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.6821, allocations: 106.7 kB / 0.6522 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.6847, allocations: 0.982 MB / 0.6531 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.6847, allocations: 8 kB / 0.6532 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.6848, allocations: 4 kB / 0.6532 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.6848, allocations: 3.984 kB / 0.6532 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.6904, allocations: 2.272 MB / 0.6554 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.6904, allocations: 0 / 0.6554 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.6907, allocations: 75.89 kB / 0.6554 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.6917, allocations: 316.9 kB / 0.6558 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.6918, allocations: 23.94 kB / 0.6558 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.6933, allocations: 0.9659 MB / 0.6567 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6933, allocations: 3.984 kB / 0.6567 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.6971, allocations: 1.364 MB / 0.6581 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/0.6979, allocations: 295.3 kB / 0.6583 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.698, allocations: 16 kB / 0.6583 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.6989, allocations: 111.9 kB / 0.6585 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.699, allocations: 31.95 kB / 0.6585 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.6991, allocations: 23.98 kB / 0.6585 GB, free: 492 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.7003, allocations: 0.7547 MB / 0.6592 GB, free: 15.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7003, allocations: 3.938 kB / 0.6593 GB, free: 15.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001714/0.7021, allocations: 0.5613 MB / 0.6598 GB, free: 15.15 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.0007388/0.7028, allocations: 377.6 kB / 0.6602 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.706, allocations: 1.16 MB / 0.6613 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.706, allocations: 0 / 0.6613 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.7069, allocations: 370.3 kB / 0.6616 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.7092, allocations: 0.4913 MB / 0.6621 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.7147, allocations: 2.483 MB / 0.6645 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.7153, allocations: 1.081 MB / 0.6656 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009525/0.7163, allocations: 221.3 kB / 0.6658 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.7165, allocations: 79.42 kB / 0.6659 GB, free: 8.84 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7165, allocations: 0 / 0.6659 GB, free: 8.84 MB / 494.1 MB Notification: Performance of Templates: time 0.04096/0.7574, allocations: 23.19 MB / 0.6885 GB, free: 1.922 MB / 0.4981 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)