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.001556/0.001556, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.618/1.618, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.82/1.82, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001396/0.001397, allocations: 69.36 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2605, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6041/0.8646, allocations: 132.3 MB / 0.9125 GB, free: 44.88 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03459/0.8993, allocations: 23.03 MB / 0.935 GB, free: 44.53 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007175/0.9065, allocations: 122.5 kB / 0.9351 GB, free: 44.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005498/0.912, allocations: 1.494 MB / 0.9366 GB, free: 44.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.9278, allocations: 4.058 MB / 0.9405 GB, free: 44.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007906/0.9357, allocations: 2.181 MB / 0.9427 GB, free: 44.31 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01288/0.9486, allocations: 6.498 MB / 0.949 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0049/0.9536, allocations: 2.36 MB / 0.9513 GB, free: 41.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008284/0.9619, allocations: 2.756 MB / 0.954 GB, free: 40.04 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005425/0.9673, allocations: 1.879 MB / 0.9558 GB, free: 39.3 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.9691, allocations: 249.5 kB / 0.9561 GB, free: 39.3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009949/0.979, allocations: 1.942 MB / 0.958 GB, free: 38.69 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.9805, allocations: 0.5976 MB / 0.9586 GB, free: 38.3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003355/0.9839, allocations: 1.464 MB / 0.96 GB, free: 37.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.9952, allocations: 4.352 MB / 0.9642 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.9953, allocations: 0 / 0.9642 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9953, allocations: 0 / 0.9642 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001675/0.9955, allocations: 3.938 kB / 0.9642 GB, free: 35.9 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.007962/1.003, allocations: 3.192 MB / 0.9674 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.004, allocations: 8.531 kB / 0.9674 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/1.008, allocations: 0.8456 MB / 0.9682 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/1.012, allocations: 2.215 MB / 0.9704 GB, free: 31.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009463/1.013, allocations: 292.2 kB / 0.9706 GB, free: 31.56 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/1.014, allocations: 161.8 kB / 0.9708 GB, free: 31.51 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/1.018, allocations: 1.933 MB / 0.9727 GB, free: 30.33 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.018, allocations: 6.688 kB / 0.9727 GB, free: 30.33 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/1.018, allocations: 61.56 kB / 0.9727 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/1.018, allocations: 41.03 kB / 0.9728 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/1.023, allocations: 1.827 MB / 0.9746 GB, free: 29.38 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.0122/1.035, allocations: 9.096 MB / 0.9835 GB, free: 21.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/1.039, allocations: 1.206 MB / 0.9846 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/1.04, allocations: 468.2 kB / 0.9851 GB, free: 20.76 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.041, allocations: 1.719 MB / 0.9868 GB, free: 18.74 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.041, allocations: 39.81 kB / 0.9868 GB, free: 18.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/1.041, allocations: 4 kB / 0.9868 GB, free: 18.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008732/1.05, allocations: 2.342 MB / 0.9891 GB, free: 17.42 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.05, allocations: 84.95 kB / 0.9892 GB, free: 17.33 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004417/1.054, allocations: 2.546 MB / 0.9917 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/1.055, allocations: 46.08 kB / 0.9917 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008242/1.055, allocations: 1.045 MB / 0.9927 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/1.056, allocations: 270.3 kB / 0.993 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/1.056, allocations: 257.5 kB / 0.9932 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/1.056, allocations: 345.8 kB / 0.9935 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/1.058, allocations: 0.5852 MB / 0.9941 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/1.06, allocations: 0.9807 MB / 0.9951 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/1.063, allocations: 1.251 MB / 0.9963 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.063, allocations: 4 kB / 0.9963 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0064/1.069, allocations: 2.056 MB / 0.9983 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.069, allocations: 8 kB / 0.9983 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.069, allocations: 8 kB / 0.9983 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/1.071, allocations: 497.6 kB / 0.9988 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.072, allocations: 291.6 kB / 0.9991 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/1.074, allocations: 1.517 MB / 1.001 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.077, allocations: 393.9 kB / 1.001 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/1.078, allocations: 63.95 kB / 1.001 GB, free: 7.578 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 (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.0009136/1.079, allocations: 466 kB / 1.001 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/1.079, allocations: 252.8 kB / 1.002 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/1.082, allocations: 1.494 MB / 1.003 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.082, allocations: 8 kB / 1.003 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.082, allocations: 7.984 kB / 1.003 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.082, allocations: 7.922 kB / 1.003 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006909/1.089, allocations: 3.631 MB / 1.007 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.089, allocations: 4 kB / 1.007 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/1.09, allocations: 120.2 kB / 1.007 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/1.092, allocations: 0.4924 MB / 1.007 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/1.092, allocations: 23.98 kB / 1.007 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/1.094, allocations: 1.585 MB / 1.009 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.094, allocations: 4 kB / 1.009 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/1.101, allocations: 1.931 MB / 1.011 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/1.103, allocations: 497.5 kB / 1.011 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/1.103, allocations: 24.17 kB / 1.011 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.105, allocations: 135.8 kB / 1.011 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.105, allocations: 67.73 kB / 1.011 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.105, allocations: 43.97 kB / 1.012 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003476/1.109, allocations: 1.785 MB / 1.013 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.109, allocations: 4 kB / 1.013 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002685/1.112, allocations: 0.6983 MB / 1.014 GB, free: 10.09 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.00133/1.113, allocations: 0.612 MB / 1.015 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00451/1.117, allocations: 1.4 MB / 1.016 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.117, allocations: 4.062 kB / 1.016 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002368/1.12, allocations: 0.6712 MB / 1.017 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/1.131, allocations: 1.36 MB / 1.018 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/1.141, allocations: 3.605 MB / 1.021 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/1.143, allocations: 1.492 MB / 1.023 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002999/1.146, allocations: 438.5 kB / 1.023 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008192/1.146, allocations: 167.4 kB / 1.023 GB, free: 356 kB / 0.7325 GB Notification: Performance of SimCode: time 2.074e-06/1.147, allocations: 0 / 1.023 GB, free: 356 kB / 0.7325 GB Notification: Performance of Templates: time 0.101/1.247, allocations: 51.65 MB / 1.074 GB, free: 13.44 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)