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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, 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.001147/0.001147, allocations: 195.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 222.1 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 251.7 MB / 0.5089 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5441, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1234/0.6675, allocations: 131.1 MB / 0.852 GB, free: 9.621 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0351/0.7027, allocations: 22.8 MB / 0.8742 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006588/0.7093, allocations: 111.2 kB / 0.8744 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005018/0.7143, allocations: 1.286 MB / 0.8756 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.7281, allocations: 3.775 MB / 0.8793 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005888/0.734, allocations: 2.01 MB / 0.8813 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.7445, allocations: 6.563 MB / 0.8877 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004184/0.7487, allocations: 2.331 MB / 0.8899 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007879/0.7566, allocations: 2.716 MB / 0.8926 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.7614, allocations: 1.948 MB / 0.8945 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008463/0.7622, allocations: 251.9 kB / 0.8947 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005614/0.7678, allocations: 1.883 MB / 0.8966 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008713/0.7687, allocations: 0.6032 MB / 0.8972 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002684/0.7714, allocations: 1.458 MB / 0.8986 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.7807, allocations: 4.312 MB / 0.9028 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.7807, allocations: 0 / 0.9028 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7807, allocations: 0 / 0.9028 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.518e-05/0.7809, allocations: 4 kB / 0.9028 GB, free: 5.395 MB / 0.7169 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.006565/0.7874, allocations: 3.18 MB / 0.9059 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7875, allocations: 8.031 kB / 0.9059 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/0.7918, allocations: 0.848 MB / 0.9067 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4109/1.203, allocations: 2.251 MB / 0.9089 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/1.204, allocations: 292.9 kB / 0.9092 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006096/1.205, allocations: 162.6 kB / 0.9094 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/1.209, allocations: 1.941 MB / 0.9113 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/1.209, allocations: 2.75 kB / 0.9113 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/1.21, allocations: 65.62 kB / 0.9113 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/1.21, allocations: 38.34 kB / 0.9114 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/1.215, allocations: 1.83 MB / 0.9132 GB, free: 176.2 MB / 0.7169 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.01467/1.229, allocations: 9.022 MB / 0.922 GB, free: 170 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/1.234, allocations: 1.195 MB / 0.9231 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/1.235, allocations: 460.7 kB / 0.9236 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/1.236, allocations: 1.724 MB / 0.9253 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/1.236, allocations: 42.5 kB / 0.9253 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/1.236, allocations: 0 / 0.9253 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008441/1.244, allocations: 2.346 MB / 0.9276 GB, free: 166 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/1.244, allocations: 84.58 kB / 0.9277 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003809/1.248, allocations: 2.523 MB / 0.9301 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000347/1.249, allocations: 45.61 kB / 0.9302 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008356/1.249, allocations: 1.053 MB / 0.9312 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/1.25, allocations: 271.5 kB / 0.9315 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/1.25, allocations: 261.1 kB / 0.9317 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/1.25, allocations: 349.8 kB / 0.9321 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/1.252, allocations: 0.5752 MB / 0.9326 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/1.254, allocations: 0.9621 MB / 0.9336 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/1.256, allocations: 1.244 MB / 0.9348 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.256, allocations: 0 / 0.9348 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008163/1.264, allocations: 2.332 MB / 0.937 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.264, allocations: 9 kB / 0.9371 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.264, allocations: 12.25 kB / 0.9371 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/1.266, allocations: 491.3 kB / 0.9375 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.267, allocations: 291.5 kB / 0.9378 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/1.269, allocations: 1.516 MB / 0.9393 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/1.272, allocations: 434 kB / 0.9397 GB, free: 157.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.272, allocations: 67.95 kB / 0.9398 GB, free: 157.3 MB / 0.7169 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.0007679/1.273, allocations: 462 kB / 0.9402 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/1.273, allocations: 246.6 kB / 0.9404 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/1.276, allocations: 1.506 MB / 0.9419 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.276, allocations: 11.94 kB / 0.9419 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.276, allocations: 4 kB / 0.9419 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.276, allocations: 7.969 kB / 0.9419 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/1.283, allocations: 3.595 MB / 0.9455 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.036e-06/1.283, allocations: 0 / 0.9455 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/1.283, allocations: 132.2 kB / 0.9456 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/1.285, allocations: 491 kB / 0.946 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/1.285, allocations: 31.92 kB / 0.9461 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/1.287, allocations: 1.581 MB / 0.9476 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.287, allocations: 7.938 kB / 0.9476 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005233/1.292, allocations: 1.933 MB / 0.9495 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.294, allocations: 485.5 kB / 0.95 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000741/1.295, allocations: 20 kB / 0.95 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.296, allocations: 171.7 kB / 0.9502 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/1.297, allocations: 67.8 kB / 0.9502 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.297, allocations: 39.97 kB / 0.9503 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002816/1.299, allocations: 1.766 MB / 0.952 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/1.3, allocations: 0 / 0.952 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002252/1.302, allocations: 0.6644 MB / 0.9526 GB, free: 143.9 MB / 0.7169 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.001005/1.303, allocations: 0.5682 MB / 0.9532 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003743/1.307, allocations: 1.381 MB / 0.9545 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.307, allocations: 0 / 0.9545 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/1.309, allocations: 0.6747 MB / 0.9552 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006784/1.315, allocations: 1.368 MB / 0.9565 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/1.322, allocations: 4.318 MB / 0.9608 GB, free: 135.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/1.323, allocations: 1.486 MB / 0.9622 GB, free: 134.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002198/1.325, allocations: 443.4 kB / 0.9626 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/1.326, allocations: 167.4 kB / 0.9628 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/1.326, allocations: 4 kB / 0.9628 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.0667/1.392, allocations: 50.48 MB / 1.012 GB, free: 83.86 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)