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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001303/0.001303, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 196.6 kB / 16.53 MB, free: 6.656 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 63.84 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6443, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1229/0.7672, allocations: 132.3 MB / 1.147 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03211/0.7993, allocations: 23.22 MB / 1.169 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/0.8043, allocations: 127.2 kB / 1.169 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.8087, allocations: 1.486 MB / 1.171 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.8189, allocations: 4.106 MB / 1.175 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.8238, allocations: 2.147 MB / 1.177 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00775/0.8316, allocations: 6.531 MB / 1.183 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.835, allocations: 2.361 MB / 1.186 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.8402, allocations: 2.745 MB / 1.188 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.8433, allocations: 1.875 MB / 1.19 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005788/0.8439, allocations: 248 kB / 1.19 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004145/0.848, allocations: 1.93 MB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006638/0.8487, allocations: 0.607 MB / 1.193 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.8506, allocations: 1.462 MB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005609/0.8562, allocations: 4.308 MB / 1.198 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8563, allocations: 0 / 1.198 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8563, allocations: 0 / 1.198 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.478e-05/0.8564, allocations: 0 / 1.198 GB, free: 8.484 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.006058/0.8624, allocations: 3.187 MB / 1.202 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.8625, allocations: 15.97 kB / 1.202 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/0.8627, allocations: 216 kB / 1.202 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004494/0.8672, allocations: 0.844 MB / 1.203 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.8712, allocations: 2.194 MB / 1.205 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000999/0.8722, allocations: 298.8 kB / 1.205 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.8724, allocations: 163.9 kB / 1.205 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/0.8764, allocations: 1.934 MB / 1.207 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.8764, allocations: 7.938 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.8766, allocations: 64 kB / 1.207 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.8766, allocations: 43.94 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.8814, allocations: 1.827 MB / 1.209 GB, free: 13.46 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.01216/0.8936, allocations: 9.074 MB / 1.218 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.898, allocations: 1.212 MB / 1.219 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.8992, allocations: 457.4 kB / 1.219 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.9003, allocations: 1.719 MB / 1.221 GB, free: 0 / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9004, allocations: 42.61 kB / 1.221 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 1.944e-06/0.9004, allocations: 3.938 kB / 1.221 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.009175/0.9096, allocations: 2.337 MB / 1.223 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.9097, allocations: 85.11 kB / 1.224 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/0.9148, allocations: 2.548 MB / 1.226 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/0.9151, allocations: 45.7 kB / 1.226 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.9163, allocations: 1.045 MB / 1.227 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.9168, allocations: 272.1 kB / 1.227 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005667/0.9173, allocations: 258.6 kB / 1.228 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.9175, allocations: 345.9 kB / 1.228 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.9195, allocations: 0.5842 MB / 1.229 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.9219, allocations: 0.9699 MB / 1.229 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/0.9253, allocations: 1.268 MB / 1.231 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.9253, allocations: 0 / 1.231 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007568/0.9329, allocations: 2.047 MB / 1.233 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.933, allocations: 9.094 kB / 1.233 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.933, allocations: 8 kB / 1.233 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.9351, allocations: 0.4937 MB / 1.233 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.9364, allocations: 287.6 kB / 1.233 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.939, allocations: 1.511 MB / 1.235 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.9423, allocations: 393.9 kB / 1.235 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.9425, allocations: 63.97 kB / 1.235 GB, free: 0.9531 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.001217/0.9437, allocations: 461.5 kB / 1.236 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009617/0.9447, allocations: 252.8 kB / 1.236 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.9491, allocations: 1.498 MB / 1.238 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.9491, allocations: 19.98 kB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.9491, allocations: 0 / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.9491, allocations: 3.984 kB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008783/0.9579, allocations: 3.622 MB / 1.241 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.958, allocations: 4 kB / 1.241 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.9586, allocations: 123.8 kB / 1.241 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.9602, allocations: 489.2 kB / 1.242 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.9603, allocations: 31.98 kB / 1.242 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.963, allocations: 1.59 MB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.963, allocations: 4 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006185/0.9692, allocations: 1.939 MB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008949/0.9701, allocations: 493.6 kB / 1.246 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.9706, allocations: 23.91 kB / 1.246 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.9723, allocations: 144 kB / 1.246 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/0.9724, allocations: 59.81 kB / 1.246 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.38e-05/0.9725, allocations: 43.91 kB / 1.246 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002959/0.9755, allocations: 1.785 MB / 1.248 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9755, allocations: 0 / 1.248 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001756/0.9773, allocations: 0.6906 MB / 1.248 GB, free: 3.438 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.007355/0.9846, allocations: 3.005 MB / 1.251 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4132/1.398, allocations: 1.391 MB / 1.253 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.398, allocations: 0.8125 kB / 1.253 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/1.401, allocations: 0.6708 MB / 1.253 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.006283/1.407, allocations: 1.338 MB / 1.255 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03588/1.443, allocations: 19.24 MB / 1.273 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.444, allocations: 1.489 MB / 1.275 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002436/1.446, allocations: 436.2 kB / 1.275 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.448, allocations: 0.901 MB / 1.276 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.448, allocations: 4.125 kB / 1.276 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.166/2.613, allocations: 68.51 MB / 1.343 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/15.66, allocations: 2.578 kB / 1.343 GB, free: 156.3 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)