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.001183/0.001183, allocations: 104.1 kB / 16.36 MB, free: 5.945 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.001056/0.001057, allocations: 194.7 kB / 17.3 MB, free: 5.559 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.002346/0.002346, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2524, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5505/0.8029, allocations: 132.3 MB / 0.9139 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03546/0.8385, allocations: 23.02 MB / 0.9364 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006408/0.8449, allocations: 123.2 kB / 0.9365 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005288/0.8503, allocations: 1.486 MB / 0.938 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.8642, allocations: 4.068 MB / 0.942 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006302/0.8706, allocations: 2.205 MB / 0.9441 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.8809, allocations: 6.501 MB / 0.9505 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004049/0.885, allocations: 2.362 MB / 0.9528 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007009/0.892, allocations: 2.768 MB / 0.9555 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.8958, allocations: 1.902 MB / 0.9573 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008005/0.8966, allocations: 248 kB / 0.9576 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00541/0.902, allocations: 1.934 MB / 0.9595 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008255/0.9028, allocations: 0.5992 MB / 0.96 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.9057, allocations: 1.466 MB / 0.9615 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007943/0.9137, allocations: 4.385 MB / 0.9658 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9137, allocations: 0 / 0.9658 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9137, allocations: 0 / 0.9658 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.832e-05/0.9138, allocations: 4 kB / 0.9658 GB, free: 0.8945 MB / 0.7481 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.006285/0.9201, allocations: 3.195 MB / 0.9689 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.9202, allocations: 12.03 kB / 0.9689 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.9247, allocations: 0.8435 MB / 0.9697 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/0.9292, allocations: 2.191 MB / 0.9719 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.9303, allocations: 294.8 kB / 0.9721 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.9307, allocations: 163.9 kB / 0.9723 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.9348, allocations: 1.934 MB / 0.9742 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.9348, allocations: 3.938 kB / 0.9742 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.935, allocations: 71.94 kB / 0.9743 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.935, allocations: 36 kB / 0.9743 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.9396, allocations: 1.827 MB / 0.9761 GB, free: 6.102 MB / 0.7637 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.01369/0.9533, allocations: 9.023 MB / 0.9849 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.9576, allocations: 1.185 MB / 0.986 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.9588, allocations: 465.3 kB / 0.9865 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.96, allocations: 1.727 MB / 0.9882 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.9601, allocations: 46.55 kB / 0.9882 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 2.565e-06/0.9601, allocations: 0 / 0.9882 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.008802/0.9689, allocations: 2.337 MB / 0.9905 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.969, allocations: 85.11 kB / 0.9906 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004832/0.9738, allocations: 2.54 MB / 0.9931 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.9741, allocations: 49.69 kB / 0.9931 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.9751, allocations: 1.042 MB / 0.9941 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.9755, allocations: 276.2 kB / 0.9944 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/0.9761, allocations: 258.5 kB / 0.9946 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.9763, allocations: 353.9 kB / 0.995 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.9781, allocations: 0.5842 MB / 0.9955 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.9804, allocations: 0.9738 MB / 0.9965 GB, free: 15.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.9837, allocations: 1.256 MB / 0.9977 GB, free: 14.54 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-06/0.9837, allocations: 8 kB / 0.9977 GB, free: 14.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007121/0.9909, allocations: 2.049 MB / 0.9997 GB, free: 12.47 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.9909, allocations: 8 kB / 0.9997 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.991, allocations: 12.06 kB / 0.9998 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.9929, allocations: 488 kB / 1 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.9944, allocations: 295.5 kB / 1.001 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.9967, allocations: 1.514 MB / 1.002 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1, allocations: 396.6 kB / 1.002 GB, free: 9.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1, allocations: 59.97 kB / 1.002 GB, free: 9.672 MB / 0.795 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.001048/1.001, allocations: 458.6 kB / 1.003 GB, free: 9.215 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/1.002, allocations: 256.9 kB / 1.003 GB, free: 8.961 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/1.006, allocations: 1.505 MB / 1.005 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.006, allocations: 8 kB / 1.005 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.006, allocations: 4 kB / 1.005 GB, free: 7.449 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.006, allocations: 3.984 kB / 1.005 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008555/1.014, allocations: 3.619 MB / 1.008 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.014, allocations: 7.984 kB / 1.008 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/1.015, allocations: 132.2 kB / 1.008 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/1.017, allocations: 486.5 kB / 1.009 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-05/1.017, allocations: 31.98 kB / 1.009 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/1.02, allocations: 1.579 MB / 1.01 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.02, allocations: 7.938 kB / 1.01 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006536/1.026, allocations: 1.933 MB / 1.012 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.028, allocations: 497.5 kB / 1.013 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/1.028, allocations: 23.89 kB / 1.013 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.03, allocations: 143.8 kB / 1.013 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.03, allocations: 63.8 kB / 1.013 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/1.03, allocations: 43.97 kB / 1.013 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003252/1.034, allocations: 1.785 MB / 1.015 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/1.034, allocations: 4 kB / 1.015 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002478/1.036, allocations: 0.6945 MB / 1.015 GB, free: 12.17 MB / 0.8106 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.001327/1.037, allocations: 0.6114 MB / 1.016 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004331/1.042, allocations: 1.362 MB / 1.017 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.042, allocations: 8.125 kB / 1.017 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/1.044, allocations: 0.6786 MB / 1.018 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006081/1.05, allocations: 1.351 MB / 1.019 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/1.057, allocations: 3.545 MB / 1.023 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/1.059, allocations: 1.493 MB / 1.024 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0021/1.061, allocations: 436.3 kB / 1.025 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/1.061, allocations: 167.4 kB / 1.025 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/1.061, allocations: 0 / 1.025 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of Templates: time 0.08164/1.143, allocations: 48.87 MB / 1.072 GB, free: 2.34 MB / 0.8575 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)