Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.993/1.993, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.002194, allocations: 190.3 kB / 376.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 0.6354 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009594/0.0009596, allocations: 98.06 kB / 0.7479 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 55.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5778/0.8833, allocations: 131.4 MB / 1.111 GB, free: 29.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02984/0.9132, allocations: 23.13 MB / 1.133 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006415/0.9196, allocations: 107.3 kB / 1.133 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005053/0.9247, allocations: 1.217 MB / 1.134 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.9382, allocations: 3.743 MB / 1.138 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005902/0.9442, allocations: 1.98 MB / 1.14 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.9569, allocations: 8.289 MB / 1.148 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004169/0.9611, allocations: 1.955 MB / 1.15 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006398/0.9675, allocations: 2.395 MB / 1.152 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/0.9717, allocations: 1.873 MB / 1.154 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006241/0.9723, allocations: 120.8 kB / 1.154 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005336/0.9777, allocations: 1.743 MB / 1.156 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0007124/0.9784, allocations: 490.6 kB / 1.156 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.9812, allocations: 1.327 MB / 1.158 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00679/0.988, allocations: 4.251 MB / 1.162 GB, free: 15 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.9881, allocations: 0 / 1.162 GB, free: 15 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9881, allocations: 0 / 1.162 GB, free: 15 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.757e-05/0.9882, allocations: 0 / 1.162 GB, free: 15 MB / 0.7605 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.007595/0.9958, allocations: 3.195 MB / 1.165 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.9959, allocations: 8.844 kB / 1.165 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/1.001, allocations: 0.8382 MB / 1.166 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005664/1.006, allocations: 2.281 MB / 1.168 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009264/1.007, allocations: 292.4 kB / 1.168 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/1.008, allocations: 164.4 kB / 1.168 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/1.012, allocations: 1.936 MB / 1.17 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/1.012, allocations: 0 / 1.17 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/1.012, allocations: 67.62 kB / 1.17 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/1.012, allocations: 36.25 kB / 1.17 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004883/1.017, allocations: 1.816 MB / 1.172 GB, free: 9.855 MB / 0.7605 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.01471/1.032, allocations: 9.023 MB / 1.181 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004386/1.036, allocations: 1.191 MB / 1.182 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.038, allocations: 457.9 kB / 1.183 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/1.039, allocations: 1.725 MB / 1.184 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/1.039, allocations: 50.44 kB / 1.184 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/1.039, allocations: 0 / 1.184 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.009676/1.049, allocations: 2.323 MB / 1.187 GB, free: 52 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/1.049, allocations: 89.27 kB / 1.187 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/1.054, allocations: 2.488 MB / 1.189 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002883/1.054, allocations: 45.98 kB / 1.189 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/1.055, allocations: 1.056 MB / 1.19 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/1.056, allocations: 262.1 kB / 1.191 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005327/1.056, allocations: 259.5 kB / 1.191 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.056, allocations: 348.8 kB / 1.191 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/1.058, allocations: 0.5853 MB / 1.192 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/1.061, allocations: 0.9712 MB / 1.193 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/1.064, allocations: 1.267 MB / 1.194 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/1.064, allocations: 3.875 kB / 1.194 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00758/1.072, allocations: 2.055 MB / 1.196 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/1.072, allocations: 11.8 kB / 1.196 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.072, allocations: 7.031 kB / 1.196 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/1.074, allocations: 429.3 kB / 1.196 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.075, allocations: 288.5 kB / 1.197 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/1.078, allocations: 1.502 MB / 1.198 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/1.082, allocations: 439.2 kB / 1.198 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/1.082, allocations: 60.27 kB / 1.198 GB, free: 9.84 MB / 0.7761 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001705/1.084, allocations: 462.2 kB / 1.199 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009184/1.085, allocations: 252.8 kB / 1.199 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/1.09, allocations: 1.485 MB / 1.201 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/1.09, allocations: 15.03 kB / 1.201 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/1.09, allocations: 2.156 kB / 1.201 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.09, allocations: 4.172 kB / 1.201 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.1, allocations: 3.59 MB / 1.204 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.101, allocations: 3.625 kB / 1.204 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/1.101, allocations: 128.6 kB / 1.204 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/1.103, allocations: 424.5 kB / 1.205 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.655e-05/1.103, allocations: 26.64 kB / 1.205 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/1.106, allocations: 1.575 MB / 1.206 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.106, allocations: 6 kB / 1.206 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.117, allocations: 3.522 MB / 1.21 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.119, allocations: 484.8 kB / 1.21 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007499/1.119, allocations: 20.48 kB / 1.21 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.122, allocations: 171.8 kB / 1.21 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.122, allocations: 60.73 kB / 1.21 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.122, allocations: 47.53 kB / 1.21 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004669/1.127, allocations: 1.752 MB / 1.212 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.9e-07/1.127, allocations: 0 / 1.212 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003143/1.13, allocations: 0.7029 MB / 1.213 GB, free: 2.738 MB / 0.7761 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/1.132, allocations: 0.5838 MB / 1.213 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005073/1.137, allocations: 1.352 MB / 1.215 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.137, allocations: 6.469 kB / 1.215 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/1.139, allocations: 0.6738 MB / 1.215 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01252/1.152, allocations: 1.29 MB / 1.217 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.163, allocations: 4.765 MB / 1.221 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.165, allocations: 1.509 MB / 1.223 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003584/1.169, allocations: 433.8 kB / 1.223 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/1.17, allocations: 167.9 kB / 1.223 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of SimCode: time 8.11e-07/1.17, allocations: 0 / 1.223 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.08847/1.258, allocations: 50.15 MB / 1.272 GB, free: 13.46 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)