Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 117 kB / 17.08 MB, free: 5.832 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.001313/0.001313, allocations: 192.7 kB / 18.02 MB, free: 4.965 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7305/0.7305, allocations: 115.3 MB / 407.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.06 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1657, allocations: 76.17 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.548/0.7138, allocations: 132.2 MB / 0.7618 GB, free: 29.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03479/0.7486, allocations: 23.22 MB / 0.7845 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006486/0.7551, allocations: 123.1 kB / 0.7846 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004493/0.7596, allocations: 1.492 MB / 0.7861 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.7738, allocations: 4.108 MB / 0.7901 GB, free: 28.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/0.7805, allocations: 2.17 MB / 0.7922 GB, free: 28.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.7911, allocations: 6.555 MB / 0.7986 GB, free: 24.97 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.7952, allocations: 2.358 MB / 0.8009 GB, free: 23.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006987/0.8022, allocations: 2.792 MB / 0.8036 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.8058, allocations: 1.891 MB / 0.8055 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005484/0.8064, allocations: 248.5 kB / 0.8057 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006388/0.8128, allocations: 1.944 MB / 0.8076 GB, free: 20.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007166/0.8135, allocations: 0.5977 MB / 0.8082 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.8159, allocations: 1.469 MB / 0.8096 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008209/0.8241, allocations: 4.353 MB / 0.8139 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8241, allocations: 4 kB / 0.8139 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8241, allocations: 0 / 0.8139 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.998e-05/0.8242, allocations: 0 / 0.8139 GB, free: 16.41 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005577/0.8298, allocations: 3.188 MB / 0.817 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.8298, allocations: 10.84 kB / 0.817 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/0.8341, allocations: 0.8398 MB / 0.8178 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/0.8384, allocations: 2.323 MB / 0.8201 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.57e-05/0.8385, allocations: 123.4 kB / 0.8202 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.8387, allocations: 160.9 kB / 0.8204 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.8423, allocations: 1.924 MB / 0.8223 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.8423, allocations: 7.938 kB / 0.8223 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.8425, allocations: 60 kB / 0.8223 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.8425, allocations: 40 kB / 0.8224 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/0.8465, allocations: 1.796 MB / 0.8241 GB, free: 8.223 MB / 0.5762 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.01108/0.8576, allocations: 9.002 MB / 0.8329 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.8623, allocations: 1.191 MB / 0.8341 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.8635, allocations: 472.6 kB / 0.8345 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.8648, allocations: 1.72 MB / 0.8362 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.8649, allocations: 46.56 kB / 0.8362 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/0.8649, allocations: 0 / 0.8362 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009267/0.8742, allocations: 2.335 MB / 0.8385 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.8742, allocations: 88.86 kB / 0.8386 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.8797, allocations: 2.536 MB / 0.8411 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.88, allocations: 45.7 kB / 0.8411 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.8811, allocations: 1.029 MB / 0.8421 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/0.8815, allocations: 270.8 kB / 0.8424 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006634/0.8822, allocations: 258.6 kB / 0.8426 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8824, allocations: 349.9 kB / 0.843 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.8843, allocations: 0.5725 MB / 0.8435 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.8866, allocations: 0.9465 MB / 0.8444 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.8899, allocations: 1.248 MB / 0.8457 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.8899, allocations: 4 kB / 0.8457 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007261/0.8972, allocations: 2.032 MB / 0.8477 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8972, allocations: 8 kB / 0.8477 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8973, allocations: 8 kB / 0.8477 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.8992, allocations: 497.2 kB / 0.8481 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.9005, allocations: 279.5 kB / 0.8484 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.9029, allocations: 1.511 MB / 0.8499 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/0.9062, allocations: 370 kB / 0.8502 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.9064, allocations: 67.95 kB / 0.8503 GB, free: 12.03 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.9076, allocations: 459.2 kB / 0.8507 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008557/0.9084, allocations: 245 kB / 0.851 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.9126, allocations: 1.502 MB / 0.8524 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.9126, allocations: 15.98 kB / 0.8525 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.9126, allocations: 7.938 kB / 0.8525 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.9127, allocations: 3.984 kB / 0.8525 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009138/0.9218, allocations: 3.606 MB / 0.856 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.9218, allocations: 4 kB / 0.856 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.9225, allocations: 124.2 kB / 0.8561 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.9243, allocations: 0.4892 MB / 0.8566 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/0.9244, allocations: 23.98 kB / 0.8566 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.9271, allocations: 1.587 MB / 0.8582 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.9272, allocations: 11.88 kB / 0.8582 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006518/0.9337, allocations: 1.933 MB / 0.8601 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.9351, allocations: 497.5 kB / 0.8605 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007244/0.9358, allocations: 20 kB / 0.8606 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/0.9379, allocations: 135.8 kB / 0.8607 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.938, allocations: 55.86 kB / 0.8607 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.9382, allocations: 43.97 kB / 0.8608 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003706/0.9419, allocations: 1.777 MB / 0.8625 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9419, allocations: 3.938 kB / 0.8625 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002853/0.9447, allocations: 0.6906 MB / 0.8632 GB, free: 14.59 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.9463, allocations: 0.615 MB / 0.8638 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004444/0.9508, allocations: 1.36 MB / 0.8651 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.9508, allocations: 288 / 0.8651 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002455/0.9533, allocations: 0.6792 MB / 0.8658 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00721/0.9605, allocations: 1.327 MB / 0.8671 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007583/0.9681, allocations: 3.581 MB / 0.8706 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.9695, allocations: 1.482 MB / 0.872 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/0.9702, allocations: 179.4 kB / 0.8722 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.9703, allocations: 0 / 0.8722 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of Templates: time 0.08166/1.052, allocations: 62.76 MB / 0.9335 GB, free: 6.859 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)