Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001388, allocations: 174.6 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 96.19 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 9.094 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1115/0.3181, allocations: 129.4 MB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03499/0.3532, allocations: 22.8 MB / 1.05 GB, free: 6.734 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004843/0.358, allocations: 103.3 kB / 1.05 GB, free: 6.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.3624, allocations: 1.204 MB / 1.051 GB, free: 5.422 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.3735, allocations: 3.731 MB / 1.054 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4259/0.7994, allocations: 1.995 MB / 1.056 GB, free: 44.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01439/0.8138, allocations: 8.247 MB / 1.064 GB, free: 44.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005314/0.8192, allocations: 1.901 MB / 1.066 GB, free: 43.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008039/0.8273, allocations: 2.29 MB / 1.069 GB, free: 43.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006258/0.8336, allocations: 1.795 MB / 1.07 GB, free: 43.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009798/0.8346, allocations: 94.27 kB / 1.07 GB, free: 43.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00692/0.8415, allocations: 1.615 MB / 1.072 GB, free: 43.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.8428, allocations: 450 kB / 1.072 GB, free: 43.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003785/0.8466, allocations: 1.301 MB / 1.074 GB, free: 43.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007431/0.854, allocations: 4.107 MB / 1.078 GB, free: 43.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8541, allocations: 1.062 kB / 1.078 GB, free: 43.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8541, allocations: 0 / 1.078 GB, free: 43.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.601e-05/0.8541, allocations: 0 / 1.078 GB, free: 43.08 MB / 0.698 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.00557/0.8597, allocations: 2.672 MB / 1.08 GB, free: 41.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8598, allocations: 9.594 kB / 1.08 GB, free: 41.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000392/0.8602, allocations: 220.6 kB / 1.081 GB, free: 41.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/0.8647, allocations: 0.9583 MB / 1.081 GB, free: 41.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.8691, allocations: 2.267 MB / 1.084 GB, free: 40.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008934/0.8701, allocations: 326.6 kB / 1.084 GB, free: 40.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.8704, allocations: 166.7 kB / 1.084 GB, free: 40.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/0.8743, allocations: 1.975 MB / 1.086 GB, free: 40.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.8743, allocations: 4 kB / 1.086 GB, free: 40.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.8745, allocations: 63.06 kB / 1.086 GB, free: 40.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.8745, allocations: 38.91 kB / 1.086 GB, free: 40.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.8789, allocations: 1.919 MB / 1.088 GB, free: 40.56 MB / 0.698 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.01175/0.8906, allocations: 9.095 MB / 1.097 GB, free: 36.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.8948, allocations: 1.311 MB / 1.098 GB, free: 36.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.8958, allocations: 484.4 kB / 1.099 GB, free: 36.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/0.8967, allocations: 1.725 MB / 1.1 GB, free: 34.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.8967, allocations: 44.95 kB / 1.1 GB, free: 34.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/0.8967, allocations: 3.938 kB / 1.1 GB, free: 34.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.01013/0.9069, allocations: 2.514 MB / 1.103 GB, free: 33.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.907, allocations: 95.19 kB / 1.103 GB, free: 33.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/0.9113, allocations: 2.535 MB / 1.105 GB, free: 33.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.9116, allocations: 44.3 kB / 1.105 GB, free: 33.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008574/0.9125, allocations: 1.055 MB / 1.106 GB, free: 32.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.9127, allocations: 268.4 kB / 1.107 GB, free: 32.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.9128, allocations: 20.09 kB / 1.107 GB, free: 32.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.9129, allocations: 342.9 kB / 1.107 GB, free: 32.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.9145, allocations: 0.6257 MB / 1.108 GB, free: 32.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.9164, allocations: 1.001 MB / 1.109 GB, free: 32.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/0.9191, allocations: 1.311 MB / 1.11 GB, free: 31.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.9191, allocations: 7.375 kB / 1.11 GB, free: 31.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004972/0.9241, allocations: 1.945 MB / 1.112 GB, free: 31.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9241, allocations: 8.688 kB / 1.112 GB, free: 31.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.9241, allocations: 10.06 kB / 1.112 GB, free: 31.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.9258, allocations: 0.5014 MB / 1.112 GB, free: 30.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.927, allocations: 308.4 kB / 1.113 GB, free: 30.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.9289, allocations: 1.556 MB / 1.114 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/0.932, allocations: 486.5 kB / 1.115 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.9322, allocations: 56.72 kB / 1.115 GB, free: 29.54 MB / 0.698 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 (108): * Single equations (assignments): 106 * 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.0008572/0.933, allocations: 462.6 kB / 1.115 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.9334, allocations: 253.7 kB / 1.115 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.9366, allocations: 1.552 MB / 1.117 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.9367, allocations: 9.344 kB / 1.117 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9367, allocations: 2.719 kB / 1.117 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.9367, allocations: 7.984 kB / 1.117 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/0.9434, allocations: 3.699 MB / 1.121 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.9434, allocations: 7.344 kB / 1.121 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.944, allocations: 134.7 kB / 1.121 GB, free: 27.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.9455, allocations: 0.5023 MB / 1.121 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.9456, allocations: 24.89 kB / 1.121 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.9479, allocations: 1.651 MB / 1.123 GB, free: 25.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9479, allocations: 2.062 kB / 1.123 GB, free: 25.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/0.9535, allocations: 2.089 MB / 1.125 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.9546, allocations: 0.5076 MB / 1.125 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.9549, allocations: 20.34 kB / 1.125 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/0.9567, allocations: 195.9 kB / 1.126 GB, free: 24.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.9567, allocations: 64.23 kB / 1.126 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.277e-05/0.9568, allocations: 40.62 kB / 1.126 GB, free: 24.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002641/0.9595, allocations: 1.796 MB / 1.127 GB, free: 24.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9595, allocations: 0 / 1.127 GB, free: 24.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001752/0.9613, allocations: 0.6613 MB / 1.128 GB, free: 24.21 MB / 0.698 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.006539/0.9678, allocations: 3.087 MB / 1.131 GB, free: 22.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00385/0.9717, allocations: 1.414 MB / 1.132 GB, free: 21.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.9717, allocations: 192 / 1.132 GB, free: 21.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.9739, allocations: 0.7418 MB / 1.133 GB, free: 20.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007196/0.9811, allocations: 1.333 MB / 1.134 GB, free: 19.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03814/1.019, allocations: 19.7 MB / 1.154 GB, free: 1.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/1.02, allocations: 1.493 MB / 1.155 GB, free: 180 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002193/1.022, allocations: 437.7 kB / 1.156 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.023, allocations: 0.9093 MB / 1.156 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.023, allocations: 0 / 1.156 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.135, allocations: 69.12 MB / 1.224 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/1.135, allocations: 287.4 kB / 1.224 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.527/5.662, allocations: 7.875 kB / 1.224 GB, free: 10.87 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)