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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 100.1 kB / 15.88 MB, free: 12 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.001092/0.001092, allocations: 205.3 kB / 16.79 MB, free: 6.84 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.141/1.141, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6043/0.6043, allocations: 115.3 MB / 406 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 69.59 kB / 493 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1084, allocations: 76.19 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.2856/0.3941, allocations: 131.3 MB / 0.6841 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.4197, allocations: 23.31 MB / 0.7069 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.4222, allocations: 115.2 kB / 0.707 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.4247, allocations: 1.212 MB / 0.7082 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006686/0.4314, allocations: 3.775 MB / 0.7118 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.4349, allocations: 1.959 MB / 0.7138 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006454/0.4414, allocations: 8.301 MB / 0.7219 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.4434, allocations: 1.965 MB / 0.7238 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.4466, allocations: 2.364 MB / 0.7261 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.4483, allocations: 1.87 MB / 0.7279 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.4485, allocations: 120 kB / 0.728 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.4515, allocations: 1.742 MB / 0.7297 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.4519, allocations: 497.6 kB / 0.7302 GB, free: 4.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.4529, allocations: 1.321 MB / 0.7315 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.4565, allocations: 4.245 MB / 0.7356 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4565, allocations: 0 / 0.7356 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4565, allocations: 0 / 0.7356 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.4565, allocations: 4 kB / 0.7356 GB, free: 14.81 MB / 0.5606 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.004403/0.4609, allocations: 3.176 MB / 0.7388 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.461, allocations: 12.03 kB / 0.7388 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.4612, allocations: 220 kB / 0.739 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/0.4651, allocations: 0.8363 MB / 0.7398 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.4684, allocations: 2.277 MB / 0.742 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008454/0.4692, allocations: 290.8 kB / 0.7423 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.4695, allocations: 164 kB / 0.7424 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.4729, allocations: 1.938 MB / 0.7443 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4729, allocations: 7.984 kB / 0.7443 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.4731, allocations: 60 kB / 0.7444 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.4731, allocations: 36 kB / 0.7444 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/0.4772, allocations: 1.831 MB / 0.7462 GB, free: 3.738 MB / 0.5606 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.009929/0.4872, allocations: 9.027 MB / 0.755 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/0.4909, allocations: 1.192 MB / 0.7562 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/0.4918, allocations: 461.4 kB / 0.7566 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009652/0.4928, allocations: 1.719 MB / 0.7583 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.4928, allocations: 46.5 kB / 0.7584 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.904e-06/0.4928, allocations: 0 / 0.7584 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007161/0.5, allocations: 2.343 MB / 0.7607 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5, allocations: 85.11 kB / 0.7607 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.5031, allocations: 2.516 MB / 0.7632 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.905e-05/0.5032, allocations: 45.7 kB / 0.7632 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007592/0.504, allocations: 1.042 MB / 0.7643 GB, free: 156 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.5042, allocations: 280.3 kB / 0.7645 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.5045, allocations: 250.6 kB / 0.7648 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5047, allocations: 345.9 kB / 0.7651 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.5062, allocations: 0.5842 MB / 0.7657 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.508, allocations: 0.9714 MB / 0.7666 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.5106, allocations: 1.265 MB / 0.7678 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5106, allocations: 0 / 0.7678 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005354/0.5159, allocations: 2.056 MB / 0.7699 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.516, allocations: 8 kB / 0.7699 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.516, allocations: 8 kB / 0.7699 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.5175, allocations: 0.4921 MB / 0.7703 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.5186, allocations: 287.6 kB / 0.7706 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.5205, allocations: 1.518 MB / 0.7721 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.5229, allocations: 437.8 kB / 0.7725 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.523, allocations: 63.95 kB / 0.7726 GB, free: 7.273 MB / 0.5919 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.0006024/0.5236, allocations: 461.4 kB / 0.773 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.5239, allocations: 252.9 kB / 0.7733 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.5271, allocations: 1.504 MB / 0.7747 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5271, allocations: 11.98 kB / 0.7747 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5271, allocations: 0 / 0.7747 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.5271, allocations: 7.984 kB / 0.7748 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006215/0.5334, allocations: 3.596 MB / 0.7783 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5334, allocations: 4 kB / 0.7783 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.5339, allocations: 132.1 kB / 0.7784 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.5354, allocations: 497 kB / 0.7789 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.5354, allocations: 31.97 kB / 0.7789 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.5377, allocations: 1.579 MB / 0.7804 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5377, allocations: 4 kB / 0.7804 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.5427, allocations: 1.951 MB / 0.7824 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.5434, allocations: 489.6 kB / 0.7828 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.5436, allocations: 16 kB / 0.7828 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.5452, allocations: 171.7 kB / 0.783 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.5453, allocations: 55.88 kB / 0.7831 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.21e-05/0.5454, allocations: 48.05 kB / 0.7831 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002373/0.5478, allocations: 1.766 MB / 0.7848 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5478, allocations: 0 / 0.7848 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001397/0.5492, allocations: 0.6866 MB / 0.7855 GB, free: 9.785 MB / 0.6075 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.006096/0.5553, allocations: 2.983 MB / 0.7884 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00347/0.5588, allocations: 1.342 MB / 0.7897 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5588, allocations: 4 kB / 0.7897 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.5609, allocations: 0.6779 MB / 0.7904 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/0.5655, allocations: 1.261 MB / 0.7916 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/0.6012, allocations: 19.81 MB / 0.811 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.6021, allocations: 1.49 MB / 0.8124 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001502/0.6036, allocations: 432.5 kB / 0.8128 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009908/0.6046, allocations: 0.9015 MB / 0.8137 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.6046, allocations: 0 / 0.8137 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.558/3.162, allocations: 65.8 MB / 0.878 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/3.163, allocations: 286.1 kB / 0.8782 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/6.367, allocations: 0 / 0.8782 GB, free: 196.8 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)