Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00119/0.00119, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.279/2.279, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5199, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.107/0.627, allocations: 131.4 MB / 1.145 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02672/0.6537, allocations: 23.31 MB / 1.168 GB, free: 7.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.6571, allocations: 115.2 kB / 1.168 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.66, allocations: 1.208 MB / 1.169 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008382/0.6684, allocations: 3.78 MB / 1.173 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.6727, allocations: 1.952 MB / 1.175 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008725/0.6814, allocations: 8.292 MB / 1.183 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.684, allocations: 1.972 MB / 1.185 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.6885, allocations: 2.372 MB / 1.187 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.6908, allocations: 1.87 MB / 1.189 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.6911, allocations: 120 kB / 1.189 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.6947, allocations: 1.738 MB / 1.191 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004521/0.6951, allocations: 489.8 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.6964, allocations: 1.333 MB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.701, allocations: 4.237 MB / 1.197 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.701, allocations: 4 kB / 1.197 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.62e-07/0.701, allocations: 4 kB / 1.197 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.7011, allocations: 0 / 1.197 GB, free: 9.973 MB / 0.9512 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.004999/0.7061, allocations: 3.168 MB / 1.2 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7061, allocations: 12.03 kB / 1.2 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00024/0.7064, allocations: 220 kB / 1.2 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.7108, allocations: 0.8439 MB / 1.201 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.7147, allocations: 2.268 MB / 1.203 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009398/0.7157, allocations: 290.8 kB / 1.203 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.716, allocations: 164 kB / 1.203 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.7198, allocations: 1.938 MB / 1.205 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.7199, allocations: 0 / 1.205 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.72, allocations: 64 kB / 1.205 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.7201, allocations: 43.88 kB / 1.205 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.7246, allocations: 1.827 MB / 1.207 GB, free: 14.91 MB / 0.9669 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.01186/0.7365, allocations: 9.035 MB / 1.216 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.7406, allocations: 1.2 MB / 1.217 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.7417, allocations: 462.2 kB / 1.218 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.7427, allocations: 1.722 MB / 1.219 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.7428, allocations: 42.56 kB / 1.219 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/0.7428, allocations: 0 / 1.219 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.00818/0.751, allocations: 2.341 MB / 1.222 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.751, allocations: 85.11 kB / 1.222 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/0.7548, allocations: 2.516 MB / 1.224 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.7549, allocations: 45.7 kB / 1.224 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/0.7557, allocations: 1.049 MB / 1.225 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.756, allocations: 272.2 kB / 1.225 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/0.7564, allocations: 254.6 kB / 1.226 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7565, allocations: 353.9 kB / 1.226 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.7582, allocations: 0.5803 MB / 1.227 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.7601, allocations: 0.9699 MB / 1.228 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.763, allocations: 1.26 MB / 1.229 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.763, allocations: 4 kB / 1.229 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005892/0.7689, allocations: 2.055 MB / 1.231 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.7689, allocations: 8 kB / 1.231 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.769, allocations: 8 kB / 1.231 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.7706, allocations: 493.2 kB / 1.231 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.7718, allocations: 295.5 kB / 1.232 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.7738, allocations: 1.517 MB / 1.233 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/0.7766, allocations: 437.8 kB / 1.233 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.7768, allocations: 56.06 kB / 1.234 GB, free: 2.43 MB / 0.9825 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.0007787/0.7775, allocations: 461.8 kB / 1.234 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.778, allocations: 248.9 kB / 1.234 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.7814, allocations: 1.511 MB / 1.236 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.7814, allocations: 8 kB / 1.236 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7814, allocations: 0 / 1.236 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.7814, allocations: 3.984 kB / 1.236 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006822/0.7882, allocations: 3.606 MB / 1.239 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.7883, allocations: 4 kB / 1.239 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.7889, allocations: 132.2 kB / 1.239 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.7904, allocations: 0.4892 MB / 1.24 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.7905, allocations: 23.98 kB / 1.24 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.7929, allocations: 1.586 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.7929, allocations: 7.938 kB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.7984, allocations: 1.935 MB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/0.7992, allocations: 493.5 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.7995, allocations: 15.98 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.8012, allocations: 175.7 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.8013, allocations: 63.8 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.8014, allocations: 43.97 kB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002652/0.804, allocations: 1.766 MB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.804, allocations: 0 / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001657/0.8057, allocations: 0.6828 MB / 1.246 GB, free: 4.922 MB / 0.9981 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.00656/0.8122, allocations: 2.99 MB / 1.249 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003814/0.8161, allocations: 1.346 MB / 1.251 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8161, allocations: 7.984 kB / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3817/1.198, allocations: 0.6632 MB / 1.251 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00545/1.203, allocations: 1.259 MB / 1.253 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0367/1.24, allocations: 19.81 MB / 1.272 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/1.241, allocations: 1.488 MB / 1.273 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001997/1.243, allocations: 427.8 kB / 1.274 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/1.244, allocations: 0.9046 MB / 1.275 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/1.244, allocations: 0 / 1.275 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.455/3.699, allocations: 65.83 MB / 1.339 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/3.699, allocations: 280 kB / 1.339 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/6.965, allocations: 6.953 kB / 1.339 GB, free: 159.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)