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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001325/0.001325, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001439/0.001439, allocations: 191 kB / 16.25 MB, free: 6.629 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5467/0.548, allocations: 140.4 MB / 0.9492 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1126/0.6606, allocations: 131.1 MB / 1.077 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02794/0.6886, allocations: 23.05 MB / 1.1 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/0.6923, allocations: 115.2 kB / 1.1 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.6961, allocations: 1.282 MB / 1.101 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.706, allocations: 3.82 MB / 1.105 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.7109, allocations: 1.984 MB / 1.107 GB, free: 248 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007695/0.7186, allocations: 6.586 MB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.7219, allocations: 2.341 MB / 1.115 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005907/0.7278, allocations: 2.775 MB / 1.118 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.7307, allocations: 1.937 MB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007048/0.7314, allocations: 252 kB / 1.12 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.7355, allocations: 1.961 MB / 1.122 GB, free: 312 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007958/0.7363, allocations: 0.6071 MB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.7386, allocations: 1.458 MB / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.7447, allocations: 4.331 MB / 1.129 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.7447, allocations: 0 / 1.129 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7447, allocations: 0 / 1.129 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001046/0.7449, allocations: 0 / 1.129 GB, free: 9.887 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.006309/0.7512, allocations: 3.184 MB / 1.132 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.7512, allocations: 12.03 kB / 1.132 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004076/0.7516, allocations: 224 kB / 1.132 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/0.756, allocations: 0.8395 MB / 1.133 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/0.7605, allocations: 2.253 MB / 1.135 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000914/0.7614, allocations: 286.9 kB / 1.135 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.7618, allocations: 168 kB / 1.135 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.7661, allocations: 1.938 MB / 1.137 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.7661, allocations: 0 / 1.137 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.7663, allocations: 67.94 kB / 1.137 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.7663, allocations: 40 kB / 1.137 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.7709, allocations: 1.827 MB / 1.139 GB, free: 14.82 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.01231/0.7832, allocations: 9.039 MB / 1.148 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/0.7873, allocations: 1.185 MB / 1.149 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.7883, allocations: 465.4 kB / 1.149 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.7894, allocations: 1.723 MB / 1.151 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.7895, allocations: 50.38 kB / 1.151 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.475e-06/0.7895, allocations: 0 / 1.151 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.00815/0.7976, allocations: 2.336 MB / 1.154 GB, free: 14.96 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.7977, allocations: 85.11 kB / 1.154 GB, free: 14.86 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.8017, allocations: 2.516 MB / 1.156 GB, free: 12.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.8019, allocations: 45.7 kB / 1.156 GB, free: 12.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008566/0.8027, allocations: 1.045 MB / 1.157 GB, free: 11.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.803, allocations: 280.1 kB / 1.157 GB, free: 10.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.8034, allocations: 250.6 kB / 1.158 GB, free: 10.69 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8036, allocations: 349.9 kB / 1.158 GB, free: 10.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.8053, allocations: 0.592 MB / 1.159 GB, free: 9.746 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.8073, allocations: 0.9698 MB / 1.159 GB, free: 8.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.8101, allocations: 1.26 MB / 1.161 GB, free: 7.262 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8101, allocations: 4 kB / 1.161 GB, free: 7.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00629/0.8164, allocations: 2.052 MB / 1.163 GB, free: 5.191 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.8165, allocations: 8 kB / 1.163 GB, free: 5.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.8165, allocations: 12.03 kB / 1.163 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.8182, allocations: 499.2 kB / 1.163 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.8194, allocations: 287.6 kB / 1.163 GB, free: 4.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.8214, allocations: 1.514 MB / 1.165 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.8243, allocations: 437.9 kB / 1.165 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.8244, allocations: 59.97 kB / 1.165 GB, free: 2.344 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.0008021/0.8252, allocations: 461.4 kB / 1.166 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.8257, allocations: 252.9 kB / 1.166 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.8292, allocations: 1.505 MB / 1.168 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.8292, allocations: 11.98 kB / 1.168 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8292, allocations: 0 / 1.168 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.8292, allocations: 11.98 kB / 1.168 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007155/0.8364, allocations: 3.597 MB / 1.171 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.8364, allocations: 8.109 kB / 1.171 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.837, allocations: 131.7 kB / 1.171 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.8385, allocations: 493.1 kB / 1.172 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.8386, allocations: 27.98 kB / 1.172 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.841, allocations: 1.586 MB / 1.173 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.841, allocations: 4 kB / 1.173 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005467/0.8465, allocations: 1.939 MB / 1.175 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/0.8473, allocations: 497.5 kB / 1.176 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.8477, allocations: 16 kB / 1.176 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.8495, allocations: 171.7 kB / 1.176 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.8496, allocations: 63.8 kB / 1.176 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.8497, allocations: 39.97 kB / 1.176 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002695/0.8524, allocations: 1.773 MB / 1.178 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8524, allocations: 0 / 1.178 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001679/0.8541, allocations: 0.675 MB / 1.178 GB, free: 4.832 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.006697/0.8608, allocations: 2.997 MB / 1.181 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00392/0.8647, allocations: 1.396 MB / 1.183 GB, free: 384 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8647, allocations: 0 / 1.183 GB, free: 384 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.8669, allocations: 0.6661 MB / 1.183 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/0.8722, allocations: 1.331 MB / 1.185 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03903/0.9112, allocations: 19.81 MB / 1.204 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009774/0.9122, allocations: 1.493 MB / 1.205 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00178/0.914, allocations: 432.4 kB / 1.206 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.9151, allocations: 0.9054 MB / 1.207 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of SimCode: time 1.092e-06/0.9151, allocations: 0 / 1.207 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.216/3.131, allocations: 67.66 MB / 1.273 GB, free: 290.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/3.132, allocations: 287 kB / 1.273 GB, free: 290.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.543/7.674, allocations: 0 / 1.273 GB, free: 290.3 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)