Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_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.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 193 kB / 16.14 MB, free: 6.691 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5193, allocations: 140.4 MB / 0.949 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1078/0.6271, allocations: 131.4 MB / 1.077 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.6556, allocations: 23.33 MB / 1.1 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/0.6593, allocations: 119.2 kB / 1.1 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.6632, allocations: 1.208 MB / 1.101 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.6734, allocations: 3.771 MB / 1.105 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.6783, allocations: 1.958 MB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00919/0.6875, allocations: 8.292 MB / 1.115 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.6907, allocations: 1.968 MB / 1.117 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004796/0.6955, allocations: 2.368 MB / 1.119 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.6984, allocations: 1.866 MB / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005201/0.699, allocations: 120 kB / 1.121 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.7032, allocations: 1.746 MB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000702/0.7039, allocations: 489.5 kB / 1.123 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.706, allocations: 1.341 MB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005785/0.7118, allocations: 4.234 MB / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7118, allocations: 0 / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7119, allocations: 0 / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.257e-05/0.712, allocations: 0 / 1.129 GB, free: 9.344 MB / 0.8887 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.00648/0.7184, allocations: 3.172 MB / 1.132 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.7185, allocations: 16.02 kB / 1.132 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002981/0.7188, allocations: 223.9 kB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.7233, allocations: 0.8356 MB / 1.133 GB, free: 5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.7272, allocations: 2.253 MB / 1.135 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009401/0.7281, allocations: 298.8 kB / 1.136 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.7283, allocations: 163.9 kB / 1.136 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.7322, allocations: 1.934 MB / 1.138 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.7323, allocations: 0 / 1.138 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.7324, allocations: 75.86 kB / 1.138 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.7324, allocations: 36 kB / 1.138 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.7371, allocations: 1.831 MB / 1.139 GB, free: 14.28 MB / 0.9044 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.01172/0.7488, allocations: 9.031 MB / 1.148 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.7531, allocations: 1.195 MB / 1.149 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.7541, allocations: 465.4 kB / 1.15 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.7553, allocations: 1.715 MB / 1.152 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7553, allocations: 46.5 kB / 1.152 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.224e-06/0.7553, allocations: 0 / 1.152 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008341/0.7637, allocations: 2.343 MB / 1.154 GB, free: 14.42 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7637, allocations: 89.09 kB / 1.154 GB, free: 14.31 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003624/0.7673, allocations: 2.512 MB / 1.156 GB, free: 11.78 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/0.7675, allocations: 49.7 kB / 1.156 GB, free: 11.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008557/0.7683, allocations: 1.045 MB / 1.158 GB, free: 10.67 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.7686, allocations: 276.1 kB / 1.158 GB, free: 10.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.769, allocations: 254.6 kB / 1.158 GB, free: 10.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7691, allocations: 349.9 kB / 1.158 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.7708, allocations: 0.5842 MB / 1.159 GB, free: 9.211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.7729, allocations: 0.9738 MB / 1.16 GB, free: 8.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.7758, allocations: 1.264 MB / 1.161 GB, free: 6.719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7758, allocations: 0 / 1.161 GB, free: 6.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00628/0.7821, allocations: 2.051 MB / 1.163 GB, free: 4.652 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7822, allocations: 8 kB / 1.163 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.7822, allocations: 8 kB / 1.163 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.784, allocations: 492.2 kB / 1.164 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.7852, allocations: 291.5 kB / 1.164 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.7874, allocations: 1.526 MB / 1.165 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.7903, allocations: 433.9 kB / 1.166 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.7904, allocations: 63.95 kB / 1.166 GB, free: 1.801 MB / 0.92 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.0007913/0.7912, allocations: 461.5 kB / 1.166 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.7916, allocations: 252.9 kB / 1.167 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.7952, allocations: 1.497 MB / 1.168 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.7952, allocations: 12 kB / 1.168 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7952, allocations: 4 kB / 1.168 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.7952, allocations: 7.984 kB / 1.168 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007062/0.8023, allocations: 3.604 MB / 1.172 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.8023, allocations: 3.938 kB / 1.172 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.8029, allocations: 127.8 kB / 1.172 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/0.8046, allocations: 498.7 kB / 1.172 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.8047, allocations: 23.98 kB / 1.172 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.8071, allocations: 1.589 MB / 1.174 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.8071, allocations: 7.938 kB / 1.174 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005676/0.8128, allocations: 1.935 MB / 1.176 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/0.8136, allocations: 497.5 kB / 1.176 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.8139, allocations: 16 kB / 1.176 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.8157, allocations: 175.7 kB / 1.176 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.8158, allocations: 55.81 kB / 1.176 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.8159, allocations: 47.95 kB / 1.176 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002823/0.8188, allocations: 1.766 MB / 1.178 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8188, allocations: 0 / 1.178 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001767/0.8205, allocations: 0.6789 MB / 1.179 GB, free: 4.293 MB / 0.9356 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.007225/0.8278, allocations: 2.998 MB / 1.182 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003918/0.8317, allocations: 1.35 MB / 1.183 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8317, allocations: 4 kB / 1.183 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.834, allocations: 0.6701 MB / 1.184 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/0.8392, allocations: 1.254 MB / 1.185 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/0.8795, allocations: 19.81 MB / 1.204 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009886/0.8806, allocations: 1.486 MB / 1.206 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001972/0.8825, allocations: 437.7 kB / 1.206 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.8837, allocations: 0.9015 MB / 1.207 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.8837, allocations: 3.938 kB / 1.207 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5792/1.463, allocations: 65.81 MB / 1.271 GB, free: 287.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/1.463, allocations: 280.7 kB / 1.272 GB, free: 286.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/4.8, allocations: 0 / 1.272 GB, free: 286.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)