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.001157/0.001157, allocations: 100.4 kB / 16.4 MB, free: 6.457 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.001137/0.001137, allocations: 196 kB / 17.34 MB, free: 5.719 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.17/1.17, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6644/0.6644, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 68.17 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1085, allocations: 77.94 MB / 0.6441 GB, free: 9.383 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.363/0.4715, allocations: 132.2 MB / 0.7732 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02236/0.4939, allocations: 23.22 MB / 0.7958 GB, free: 27.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.4968, allocations: 123.1 kB / 0.796 GB, free: 27.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.4992, allocations: 1.49 MB / 0.7974 GB, free: 26.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007152/0.5064, allocations: 4.1 MB / 0.8014 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.5102, allocations: 2.177 MB / 0.8035 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004851/0.5151, allocations: 6.532 MB / 0.8099 GB, free: 20.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.517, allocations: 2.369 MB / 0.8122 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.5206, allocations: 2.76 MB / 0.8149 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.5221, allocations: 1.882 MB / 0.8168 GB, free: 16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.5224, allocations: 248.8 kB / 0.817 GB, free: 16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.5254, allocations: 1.935 MB / 0.8189 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.5257, allocations: 0.6049 MB / 0.8195 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009093/0.5267, allocations: 1.457 MB / 0.8209 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.5301, allocations: 4.36 MB / 0.8252 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5302, allocations: 0 / 0.8252 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5302, allocations: 2.438 kB / 0.8252 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.5302, allocations: 0 / 0.8252 GB, free: 10.91 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.003918/0.5341, allocations: 3.185 MB / 0.8283 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5342, allocations: 12.62 kB / 0.8283 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.5343, allocations: 216 kB / 0.8285 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.5381, allocations: 0.8519 MB / 0.8293 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.5411, allocations: 2.319 MB / 0.8316 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.5412, allocations: 131 kB / 0.8317 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.5413, allocations: 160 kB / 0.8319 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.5443, allocations: 1.915 MB / 0.8337 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.5443, allocations: 7.938 kB / 0.8337 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.5445, allocations: 63.98 kB / 0.8338 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.5445, allocations: 47.98 kB / 0.8339 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003793/0.5483, allocations: 1.803 MB / 0.8356 GB, free: 312 kB / 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.01012/0.5584, allocations: 8.987 MB / 0.8444 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.5624, allocations: 1.193 MB / 0.8456 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.5635, allocations: 469.4 kB / 0.846 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.5645, allocations: 1.726 MB / 0.8477 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.5645, allocations: 42.56 kB / 0.8477 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 1.814e-06/0.5645, allocations: 0 / 0.8477 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007786/0.5723, allocations: 2.332 MB / 0.85 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5724, allocations: 84.86 kB / 0.8501 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.5756, allocations: 2.532 MB / 0.8526 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/0.5756, allocations: 45.7 kB / 0.8526 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007563/0.5764, allocations: 1.04 MB / 0.8536 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.5766, allocations: 272.5 kB / 0.8539 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.577, allocations: 254.6 kB / 0.8541 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5771, allocations: 345.9 kB / 0.8545 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.5787, allocations: 0.5725 MB / 0.855 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.5807, allocations: 0.9582 MB / 0.8559 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.5835, allocations: 1.248 MB / 0.8572 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5835, allocations: 4 kB / 0.8572 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00582/0.5893, allocations: 2.02 MB / 0.8591 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5893, allocations: 8 kB / 0.8592 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5893, allocations: 8 kB / 0.8592 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.5909, allocations: 0.4937 MB / 0.8596 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5921, allocations: 283.5 kB / 0.8599 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.5941, allocations: 1.521 MB / 0.8614 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.5963, allocations: 358 kB / 0.8617 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.5964, allocations: 63.97 kB / 0.8618 GB, free: 4.129 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.0006141/0.597, allocations: 464.8 kB / 0.8622 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.5974, allocations: 248.9 kB / 0.8625 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.6008, allocations: 1.502 MB / 0.8639 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.6008, allocations: 8 kB / 0.864 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6008, allocations: 4 kB / 0.864 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6008, allocations: 3.984 kB / 0.864 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/0.6076, allocations: 3.616 MB / 0.8675 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6076, allocations: 4 kB / 0.8675 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.6082, allocations: 128.1 kB / 0.8676 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.6096, allocations: 497 kB / 0.8681 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/0.6097, allocations: 27.98 kB / 0.8681 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.6121, allocations: 1.59 MB / 0.8697 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6121, allocations: 7.938 kB / 0.8697 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005543/0.6177, allocations: 1.934 MB / 0.8716 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/0.6184, allocations: 493.6 kB / 0.872 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.6187, allocations: 23.94 kB / 0.8721 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.6202, allocations: 135.8 kB / 0.8722 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.6203, allocations: 55.86 kB / 0.8722 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/0.6204, allocations: 43.97 kB / 0.8723 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002454/0.6229, allocations: 1.769 MB / 0.874 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6229, allocations: 0 / 0.874 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001551/0.6244, allocations: 0.6982 MB / 0.8747 GB, free: 6.676 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.006656/0.6311, allocations: 2.999 MB / 0.8776 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.6348, allocations: 1.357 MB / 0.879 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6349, allocations: 0 / 0.879 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.6371, allocations: 0.6761 MB / 0.8796 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/0.642, allocations: 1.341 MB / 0.8809 GB, free: 336 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.6715, allocations: 16.64 MB / 0.8972 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009151/0.6724, allocations: 1.497 MB / 0.8986 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00148/0.6739, allocations: 432.5 kB / 0.899 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.6749, allocations: 0.8976 MB / 0.8999 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.6749, allocations: 0 / 0.8999 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09247/0.7674, allocations: 66.19 MB / 0.9646 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.57, allocations: 7.844 kB / 0.9646 GB, free: 10.91 MB / 0.7169 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)