Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001436/0.001436, allocations: 102.8 kB / 15.98 MB, free: 6.348 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.001583/0.001583, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.546/1.546, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.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.002068/0.002068, allocations: 64.47 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2492, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1212/0.3704, allocations: 131.1 MB / 0.9115 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.582/0.9525, allocations: 22.86 MB / 0.9338 GB, free: 44.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006531/0.9591, allocations: 110.1 kB / 0.934 GB, free: 44.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005847/0.965, allocations: 1.28 MB / 0.9352 GB, free: 44.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.9793, allocations: 3.779 MB / 0.9389 GB, free: 44.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00692/0.9862, allocations: 2.019 MB / 0.9409 GB, free: 44.01 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.9987, allocations: 6.544 MB / 0.9473 GB, free: 44 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005866/1.005, allocations: 2.333 MB / 0.9495 GB, free: 43.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009408/1.014, allocations: 2.776 MB / 0.9522 GB, free: 43.53 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005247/1.019, allocations: 1.942 MB / 0.9541 GB, free: 43.17 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/1.021, allocations: 251 kB / 0.9544 GB, free: 43.17 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008147/1.029, allocations: 1.959 MB / 0.9563 GB, free: 43.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001753/1.031, allocations: 0.6025 MB / 0.9569 GB, free: 42.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005305/1.036, allocations: 1.468 MB / 0.9583 GB, free: 42.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007735/1.044, allocations: 3.412 MB / 0.9616 GB, free: 42.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.044, allocations: 0 / 0.9616 GB, free: 42.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/1.044, allocations: 4 kB / 0.9617 GB, free: 42.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001809/1.044, allocations: 0 / 0.9617 GB, free: 42.22 MB / 0.7325 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.01096/1.055, allocations: 3.195 MB / 0.9648 GB, free: 40.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.055, allocations: 9.094 kB / 0.9648 GB, free: 40.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/1.061, allocations: 0.8426 MB / 0.9656 GB, free: 40.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/1.067, allocations: 2.259 MB / 0.9678 GB, free: 39.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/1.068, allocations: 292.8 kB / 0.9681 GB, free: 39.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007381/1.069, allocations: 162.1 kB / 0.9682 GB, free: 39.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/1.075, allocations: 1.941 MB / 0.9701 GB, free: 39.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/1.075, allocations: 3.938 kB / 0.9701 GB, free: 39.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/1.076, allocations: 62.81 kB / 0.9702 GB, free: 39.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/1.076, allocations: 41.59 kB / 0.9702 GB, free: 39.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005357/1.081, allocations: 1.825 MB / 0.972 GB, free: 38.71 MB / 0.7325 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.01704/1.098, allocations: 9.042 MB / 0.9809 GB, free: 32.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/1.103, allocations: 1.204 MB / 0.982 GB, free: 31.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/1.104, allocations: 463.7 kB / 0.9825 GB, free: 31.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009784/1.105, allocations: 1.724 MB / 0.9842 GB, free: 29.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/1.105, allocations: 39.62 kB / 0.9842 GB, free: 29.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.827e-06/1.105, allocations: 0 / 0.9842 GB, free: 29.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.008648/1.113, allocations: 2.347 MB / 0.9865 GB, free: 28.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/1.114, allocations: 87.3 kB / 0.9866 GB, free: 27.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005063/1.119, allocations: 2.518 MB / 0.989 GB, free: 26.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/1.119, allocations: 49.36 kB / 0.9891 GB, free: 26.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/1.12, allocations: 1.045 MB / 0.9901 GB, free: 25.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/1.12, allocations: 274.3 kB / 0.9904 GB, free: 25.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004954/1.12, allocations: 264.6 kB / 0.9906 GB, free: 25.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/1.12, allocations: 343.6 kB / 0.9909 GB, free: 24.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/1.122, allocations: 0.5858 MB / 0.9915 GB, free: 24.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/1.124, allocations: 0.9748 MB / 0.9925 GB, free: 23.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/1.127, allocations: 1.257 MB / 0.9937 GB, free: 23.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.127, allocations: 2.688 kB / 0.9937 GB, free: 23.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006661/1.134, allocations: 2.057 MB / 0.9957 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/1.134, allocations: 8.25 kB / 0.9957 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.134, allocations: 8 kB / 0.9957 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/1.136, allocations: 495.2 kB / 0.9962 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.137, allocations: 287.9 kB / 0.9965 GB, free: 21.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/1.139, allocations: 1.516 MB / 0.9979 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/1.143, allocations: 442.8 kB / 0.9984 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/1.143, allocations: 57.12 kB / 0.9984 GB, free: 20.23 MB / 0.7325 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.001393/1.145, allocations: 469.8 kB / 0.9989 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.146, allocations: 246.5 kB / 0.9991 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/1.15, allocations: 1.505 MB / 1.001 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/1.15, allocations: 9.844 kB / 1.001 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.15, allocations: 0 / 1.001 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.15, allocations: 6.391 kB / 1.001 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009786/1.16, allocations: 3.617 MB / 1.004 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.16, allocations: 2.469 kB / 1.004 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/1.16, allocations: 127.6 kB / 1.004 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/1.162, allocations: 499 kB / 1.005 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/1.162, allocations: 28.2 kB / 1.005 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/1.164, allocations: 1.59 MB / 1.006 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.164, allocations: 5.344 kB / 1.006 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005999/1.17, allocations: 1.929 MB / 1.008 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.172, allocations: 493.9 kB / 1.009 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/1.173, allocations: 29.08 kB / 1.009 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.175, allocations: 167.7 kB / 1.009 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/1.175, allocations: 55.88 kB / 1.009 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.55e-05/1.175, allocations: 47.95 kB / 1.009 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002818/1.178, allocations: 1.769 MB / 1.011 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.81e-07/1.178, allocations: 0 / 1.011 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002705/1.181, allocations: 0.6788 MB / 1.011 GB, free: 10.5 MB / 0.7325 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.001429/1.182, allocations: 0.6018 MB / 1.012 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003977/1.186, allocations: 1.402 MB / 1.013 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.186, allocations: 0 / 1.013 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.188, allocations: 0.6792 MB / 1.014 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007103/1.195, allocations: 1.348 MB / 1.015 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/1.202, allocations: 4.352 MB / 1.02 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/1.203, allocations: 1.478 MB / 1.021 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/1.203, allocations: 183.4 kB / 1.021 GB, free: 460 kB / 0.7325 GB Notification: Performance of SimCode: time 1.393e-06/1.203, allocations: 0 / 1.021 GB, free: 460 kB / 0.7325 GB Notification: Performance of Templates: time 0.08623/1.29, allocations: 62.41 MB / 1.082 GB, free: 2.523 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)