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.001221/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0014/0.001401, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.545/1.545, allocations: 205.1 MB / 222 MB, free: 4.766 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.806/1.806, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001634/0.001634, allocations: 62.44 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2758, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1215/0.3973, allocations: 131.4 MB / 0.911 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4983/0.8957, allocations: 23.1 MB / 0.9336 GB, free: 44.24 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005118/0.9008, allocations: 111.7 kB / 0.9337 GB, free: 44.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.9052, allocations: 1.207 MB / 0.9348 GB, free: 44.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.9178, allocations: 3.743 MB / 0.9385 GB, free: 44.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006742/0.9246, allocations: 1.992 MB / 0.9404 GB, free: 44.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01435/0.9389, allocations: 8.246 MB / 0.9485 GB, free: 44.01 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003997/0.943, allocations: 1.962 MB / 0.9504 GB, free: 43.74 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006127/0.9491, allocations: 2.383 MB / 0.9527 GB, free: 43.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/0.9529, allocations: 1.867 MB / 0.9546 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004125/0.9533, allocations: 120 kB / 0.9547 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.9585, allocations: 1.742 MB / 0.9564 GB, free: 43.03 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.9591, allocations: 489.6 kB / 0.9569 GB, free: 42.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002816/0.9619, allocations: 1.334 MB / 0.9582 GB, free: 42.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008846/0.9708, allocations: 4.256 MB / 0.9623 GB, free: 41.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.9708, allocations: 0 / 0.9623 GB, free: 41.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9709, allocations: 0 / 0.9623 GB, free: 41.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001187/0.971, allocations: 0.9688 kB / 0.9623 GB, free: 41.88 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.008734/0.9797, allocations: 3.189 MB / 0.9654 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.9798, allocations: 8.25 kB / 0.9654 GB, free: 40.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004804/0.9846, allocations: 0.8436 MB / 0.9663 GB, free: 40.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004973/0.9896, allocations: 2.266 MB / 0.9685 GB, free: 39.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009167/0.9905, allocations: 295.8 kB / 0.9688 GB, free: 39.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.9909, allocations: 160.5 kB / 0.9689 GB, free: 39.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.9952, allocations: 1.932 MB / 0.9708 GB, free: 39.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.9952, allocations: 6.938 kB / 0.9708 GB, free: 39.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.9954, allocations: 63.44 kB / 0.9709 GB, free: 39.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.9954, allocations: 36.78 kB / 0.9709 GB, free: 39.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/1, allocations: 1.831 MB / 0.9727 GB, free: 39.19 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.01223/1.012, allocations: 9.047 MB / 0.9815 GB, free: 31.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/1.016, allocations: 1.196 MB / 0.9827 GB, free: 31.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009767/1.017, allocations: 466.8 kB / 0.9831 GB, free: 31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/1.018, allocations: 1.721 MB / 0.9848 GB, free: 28.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/1.018, allocations: 37.41 kB / 0.9848 GB, free: 28.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/1.018, allocations: 2.469 kB / 0.9848 GB, free: 28.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.008235/1.026, allocations: 2.344 MB / 0.9871 GB, free: 27.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.027, allocations: 84.3 kB / 0.9872 GB, free: 27.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/1.031, allocations: 2.518 MB / 0.9897 GB, free: 26.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.031, allocations: 46.08 kB / 0.9897 GB, free: 26.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007877/1.032, allocations: 1.054 MB / 0.9907 GB, free: 25.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/1.032, allocations: 270.4 kB / 0.991 GB, free: 25.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005916/1.033, allocations: 260 kB / 0.9913 GB, free: 24.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/1.033, allocations: 349.4 kB / 0.9916 GB, free: 24.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/1.035, allocations: 0.5838 MB / 0.9922 GB, free: 24.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/1.037, allocations: 0.9715 MB / 0.9931 GB, free: 23.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/1.04, allocations: 1.261 MB / 0.9943 GB, free: 22.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.04, allocations: 0 / 0.9943 GB, free: 22.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006336/1.046, allocations: 2.057 MB / 0.9963 GB, free: 21.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.046, allocations: 13.56 kB / 0.9964 GB, free: 21.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.046, allocations: 7.812 kB / 0.9964 GB, free: 21.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/1.048, allocations: 497.3 kB / 0.9968 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.049, allocations: 284.6 kB / 0.9971 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/1.051, allocations: 1.519 MB / 0.9986 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/1.054, allocations: 441.8 kB / 0.999 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/1.055, allocations: 58.88 kB / 0.9991 GB, free: 19.81 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.0009987/1.056, allocations: 463.3 kB / 0.9995 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007822/1.056, allocations: 247.5 kB / 0.9998 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.06, allocations: 1.502 MB / 1.001 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/1.06, allocations: 14.42 kB / 1.001 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.06, allocations: 0 / 1.001 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.06, allocations: 10.36 kB / 1.001 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/1.068, allocations: 3.605 MB / 1.005 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.068, allocations: 2.906 kB / 1.005 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/1.069, allocations: 121.5 kB / 1.005 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/1.071, allocations: 0.4983 MB / 1.005 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/1.071, allocations: 25.36 kB / 1.005 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/1.073, allocations: 1.584 MB / 1.007 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.073, allocations: 8.719 kB / 1.007 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/1.079, allocations: 1.937 MB / 1.009 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.08, allocations: 493.5 kB / 1.009 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/1.081, allocations: 23.94 kB / 1.009 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.083, allocations: 171.7 kB / 1.009 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/1.083, allocations: 55.86 kB / 1.01 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/1.083, allocations: 43.97 kB / 1.01 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00273/1.086, allocations: 1.773 MB / 1.011 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.71e-07/1.086, allocations: 0 / 1.011 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002372/1.089, allocations: 0.6827 MB / 1.012 GB, free: 9.324 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.001188/1.09, allocations: 0.5994 MB / 1.013 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003737/1.094, allocations: 1.359 MB / 1.014 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/1.094, allocations: 4 kB / 1.014 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/1.096, allocations: 0.6746 MB / 1.015 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006457/1.102, allocations: 1.272 MB / 1.016 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/1.108, allocations: 4.307 MB / 1.02 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/1.109, allocations: 1.501 MB / 1.021 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002092/1.111, allocations: 440.3 kB / 1.022 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/1.111, allocations: 167.4 kB / 1.022 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of SimCode: time 9.51e-07/1.111, allocations: 0 / 1.022 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of Templates: time 0.07878/1.19, allocations: 49.1 MB / 1.07 GB, free: 14.68 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)